FIX: HTML not being stripped in description meta tag.
This commit is contained in:
parent
e9e5a6c122
commit
1a245656e0
|
@ -230,7 +230,7 @@ class ListController < ApplicationController
|
||||||
@category = Category.query_category(slug_or_id, parent_category_id)
|
@category = Category.query_category(slug_or_id, parent_category_id)
|
||||||
raise Discourse::NotFound if !@category
|
raise Discourse::NotFound if !@category
|
||||||
|
|
||||||
@description_meta = @category.description
|
@description_meta = @category.description_text
|
||||||
guardian.ensure_can_see!(@category)
|
guardian.ensure_can_see!(@category)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue