mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-13 15:49:59 +01:00
Strip HTML tags from generated titles
This commit is contained in:
parent
6bbc675f90
commit
eb560e66b0
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