mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 05:47:02 +00:00
Fix issue with <a>/<aside>
This commit is contained in:
1 parent
1885a8d0cc
commit
bdfcde7661
1 file changed
+1
-1
@@ -508,7 +508,7 @@ const sanatizeScriptTags = (content)=>{
|
||||
const tagTypes = ['div', 'span', 'a'];
|
||||
const tagRegex = new RegExp(`(${
|
||||
_.map(tagTypes, (type)=>{
|
||||
return `\\<${type}|\\</${type}>`;
|
||||
return `\\<${type}\b|\\</${type}>`;
|
||||
}).join('|')})`, 'g');
|
||||
|
||||
const processStyleTags = (string)=>{
|
||||
|
||||
Reference in new issue
Block a user