mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-13 15:10:00 +01:00
Merge pull request #2042 from Retrospring/bugfix/html-mod-titles
Strip HTML tags from generated titles
This commit is contained in:
commit
b4929300fc
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ module ApplicationHelper::TitleMethods
|
|||
end
|
||||
end
|
||||
|
||||
list = [name, junction].compact
|
||||
list = [strip_tags(name), junction].compact
|
||||
|
||||
unless content.nil?
|
||||
content = strip_markdown(content)
|
||||
|
|
Loading…
Reference in a new issue