From 9017a7d2deb7c57c614ef3f3f47c254bec7f7ee0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Thu, 26 Mar 2015 18:21:30 +0100 Subject: [PATCH] FIX: category description isn't properly escaping html --- .../discourse/templates/modal/edit-category-general.hbs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/modal/edit-category-general.hbs b/app/assets/javascripts/discourse/templates/modal/edit-category-general.hbs index 2722479ed..0ce793b70 100644 --- a/app/assets/javascripts/discourse/templates/modal/edit-category-general.hbs +++ b/app/assets/javascripts/discourse/templates/modal/edit-category-general.hbs @@ -27,15 +27,14 @@ {{#if showDescription}}
- {{#if description}} - {{description}} + {{{description}}} {{else}} {{i18n 'category.no_description'}} {{/if}} {{#if topic_url}}
- + {{d-button class="btn-small" action="showCategoryTopic" icon="pencil" label="category.change_in_category_topic"}} {{/if}}
{{/if}}