Explorar el Código

fix(sanitizer): allow <hr> tags

Frédéric Guillot hace 1 año
padre
commit
5549f75dd7
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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":        {},