summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-11-23 02:15:34 +0100
committererdgeist <erdgeist@erdgeist.org>2026-11-23 02:15:34 +0100
commit2852b6deae9896903ca74f55bd902d0ff1378ea4 (patch)
tree496c79a3d8c1fe91665816016387973f26eea03d /app
parenta9dd887d10ab80a1c072b64fceb3f597caa88166 (diff)
Allow id attributes so that we can deliver TOCsHEADmaster
Diffstat (limited to 'app')
-rw-r--r--app/helpers/content_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/content_helper.rb b/app/helpers/content_helper.rb
index c88267c3..c05d983b 100644
--- a/app/helpers/content_helper.rb
+++ b/app/helpers/content_helper.rb
@@ -107,7 +107,7 @@ module ContentHelper
107 options = {} 107 options = {}
108 108
109 cccms_attributes = ActionView::Base.sanitized_allowed_attributes + 109 cccms_attributes = ActionView::Base.sanitized_allowed_attributes +
110 %w[lang target rel data-gallery] 110 %w[lang target rel data-gallery id]
111 111
112 begin 112 begin
113 if content =~ /\[aggregate([^\]]*)\]/ 113 if content =~ /\[aggregate([^\]]*)\]/