mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 19:08:10 -05:00
FIX: category description isn't properly escaping html
This commit is contained in:
parent
a87083fa76
commit
9017a7d2de
1 changed files with 2 additions and 3 deletions
|
@ -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}}
|
||||||
|
|
Loading…
Reference in a new issue