From eb560e66b028f81d8c086962a0ebc9453b39c899 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sat, 8 Mar 2025 22:21:57 +0100 Subject: [PATCH] Strip HTML tags from generated titles --- app/helpers/application_helper/title_methods.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper/title_methods.rb b/app/helpers/application_helper/title_methods.rb index 9784e646..ff0bbdd5 100644 --- a/app/helpers/application_helper/title_methods.rb +++ b/app/helpers/application_helper/title_methods.rb @@ -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)