FIX: category description isn't properly escaping html

This commit is contained in:
Régis Hanol 2015-03-26 18:21:30 +01:00
parent a87083fa76
commit 9017a7d2de

View file

@ -27,15 +27,14 @@
{{#if showDescription}} {{#if showDescription}}
<section class='field'> <section class='field'>
<label>{{i18n 'category.description'}}</label> <label>{{i18n 'category.description'}}</label>
{{#if description}} {{#if description}}
{{description}} {{{description}}}
{{else}} {{else}}
{{i18n 'category.no_description'}} {{i18n 'category.no_description'}}
{{/if}} {{/if}}
{{#if topic_url}} {{#if topic_url}}
<br/> <br/>
<button class="btn btn-small" {{action "showCategoryTopic"}}><i class="fa fa-pencil"></i>{{i18n 'category.change_in_category_topic'}}</button> {{d-button class="btn-small" action="showCategoryTopic" icon="pencil" label="category.change_in_category_topic"}}
{{/if}} {{/if}}
</section> </section>
{{/if}} {{/if}}