summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-10-22 01:02:01 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-10-22 01:02:29 +0200
commit724e38e67389a5c0047abc3a68663c44f2ad35a5 (patch)
tree566311866296a5dc59e3d144a693889b4f16f709 /src
parentMerge pull request #1585 from Mikaela/gitattributes2 (diff)
downloadnheko-724e38e67389a5c0047abc3a68663c44f2ad35a5.tar.xz
hr tags are self closing
Diffstat (limited to 'src')
-rw-r--r--src/Utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Utils.cpp b/src/Utils.cpp
index 0ea42a27..ec73c901 100644
--- a/src/Utils.cpp
+++ b/src/Utils.cpp
@@ -428,7 +428,7 @@ utils::escapeBlacklistedHtml(const QString &rawStr)
       "blockquote", "/blockquote", "p",       "/p",      "a",     "/a",     "ul",     "/ul",
       "ol",         "/ol",         "sup",     "/sup",    "sub",   "/sub",   "li",     "/li",
       "b",          "/b",          "i",       "/i",      "u",     "/u",     "strong", "/strong",
-      "em",         "/em",         "strike",  "/strike", "code",  "/code",  "hr",     "/hr",
+      "em",         "/em",         "strike",  "/strike", "code",  "/code",  "hr",     "hr/",
       "br",         "br/",         "div",     "/div",    "table", "/table", "thead",  "/thead",
       "tbody",      "/tbody",      "tr",      "/tr",     "th",    "/th",    "td",     "/td",
       "caption",    "/caption",    "pre",     "/pre",    "span",  "/span",  "img",    "/img",