mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: category description isn't properly escaping html
This commit is contained in:
parent
a87083fa76
commit
9017a7d2de
@ -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 New Issue
Block a user