Browse Source

fix(sanitizer): allow <hr> tags

Frédéric Guillot 1 year ago
parent
commit
5549f75dd7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      internal/reader/sanitizer/sanitizer.go

+ 1 - 0
internal/reader/sanitizer/sanitizer.go

@@ -43,6 +43,7 @@ var (
 		"h4":         {"id"},
 		"h5":         {"id"},
 		"h6":         {"id"},
+		"hr":         {},
 		"iframe":     {"width", "height", "frameborder", "src", "allowfullscreen"},
 		"img":        {"alt", "title", "src", "srcset", "sizes", "width", "height"},
 		"ins":        {},