mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
Merge pull request #3650 from tgxworld/strip_html_from_description_meta_tag
FIX: HTML not being stripped in description meta tag.
This commit is contained in:
commit
1485f33cf9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue