Merge pull request #2042 from Retrospring/bugfix/html-mod-titles

Strip HTML tags from generated titles
This commit is contained in:
Jyrki Gadinger 2025-03-09 18:36:14 +01:00 committed by GitHub
commit b4929300fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)