From 1a245656e0a70960120d0c6f97ce193530f5d199 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Fri, 14 Aug 2015 10:00:07 +0800 Subject: [PATCH] FIX: HTML not being stripped in description meta tag. --- app/controllers/list_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/list_controller.rb b/app/controllers/list_controller.rb index 17e1a49545c..e5b6f638879 100644 --- a/app/controllers/list_controller.rb +++ b/app/controllers/list_controller.rb @@ -230,7 +230,7 @@ class ListController < ApplicationController @category = Category.query_category(slug_or_id, parent_category_id) raise Discourse::NotFound if !@category - @description_meta = @category.description + @description_meta = @category.description_text guardian.ensure_can_see!(@category) end