You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2026. It is now read-only.
PLEASE NOTE: make sure the bug exists in the latest patch level of the project. For instance, if you are running a 2.x version of Apostrophe, you should use the latest in that major version to confirm the bug.
To Reproduce
Use this code for mdx files:
exportconstcorrectHtml=(html: string)=>{returnsanitizeHtml(html,{allowVulnerableTags: true,allowedTags: false,// allow all tags but close unclosed tagsallowedAttributes: false,// allow all attributesallowedSchemes: ['data','http','https'],})}
Get some code out of it:
<p>This is intended as a quick reference and showcase. For more complete info, see [John Gruber's original spec](http://daringfireball.net/projects/markdown/) and the [Github-flavored Markdown info page](http://github.github.com/github-flavored-markdown/).
</p><p>Note that there is also a <ahref="./Markdown-Here-Cheatsheet">Cheatsheet specific to Markdown Here</a> if that's what you're looking for. You can also check out <ahref="./Other-Markdown-Tools">more Markdown tools</a>.</p>
<h5>Table of Contents</h5>
<p><ahref="#headers">Headers</a><br /><ahref="#emphasis">Emphasis</a><br /><ahref="#lists">Lists</a><br /><ahref="#links">Links</a><br /><ahref="#images">Images</a><br /><ahref="#code">Code and Syntax Highlighting</a><br /><ahref="#footnotes">Footnotes</a><br /><ahref="#tables">Tables</a><br /><ahref="#blockquotes">Blockquotes</a><br /><ahref="#html">Inline HTML</a><br /><ahref="#hr">Horizontal Rule</a><br /><ahref="#lines">Line Breaks</a><br /><ahref="#videos">YouTube Videos</a> </p>
<p><a name="headers"/></p>
<h2>Headers</h2>
Use it for blogs in Astro and error: Expected a closing tag for <p> (2:1-2:4) before the end of paragraph
This is due to this:
<p>This is intended as a quick reference and showcase. For more complete info, see [John Gruber's original spec](http://daringfireball.net/projects/markdown/) and the [Github-flavored Markdown info page](http://github.github.com/github-flavored-markdown/).
**This space is fatal for some reason**
</p>
PLEASE NOTE: make sure the bug exists in the latest patch level of the project. For instance, if you are running a 2.x version of Apostrophe, you should use the latest in that major version to confirm the bug.
To Reproduce
Use this code for mdx files:
Get some code out of it:
Use it for blogs in Astro and error:
Expected a closing tag for <p> (2:1-2:4) before the end of paragraphThis is due to this: