mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Allow summary tag
This commit is contained in:
parent
ff87bef030
commit
732b82c04d
1 changed files with 10 additions and 9 deletions
|
@ -429,7 +429,8 @@ utils::escapeBlacklistedHtml(const QString &rawStr)
|
|||
"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"};
|
||||
"caption", "/caption", "pre", "/pre", "span", "/span", "img", "/img",
|
||||
"details", "/details", "summary", "/summary"};
|
||||
constexpr static const std::array tagNameEnds = {' ', '>'};
|
||||
constexpr static const std::array attrNameEnds = {' ', '>', '=', '\t', '\r', '\n', '/', '\f'};
|
||||
constexpr static const std::array spaceChars = {' ', '\t', '\r', '\n', '\f'};
|
||||
|
|
Loading…
Reference in a new issue