diff --git a/package.json b/package.json index 4343e92..088a5ef 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "homebrewery", "description": "Create authentic looking D&D homebrews using only markdown", - "version": "2.8.0", + "version": "2.8.1", "repository": { "type": "git", "url": "git://github.com/stolksdorf/homebrewery.git" diff --git a/shared/naturalcrit/markdown.js b/shared/naturalcrit/markdown.js index 3c14784..fa96d75 100644 --- a/shared/naturalcrit/markdown.js +++ b/shared/naturalcrit/markdown.js @@ -13,6 +13,11 @@ renderer.html = function (html) { return html; }; +const sanatizeScriptTags = (content)=>{ + return content + .replace(/