mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-27 10:32:58 +02:00
657cebfda9
Previously we'd use the remove-markdown package to create the note preview however this function would freeze on certain notes, and was probably unsafe as it used regex to parse Markdown. Replaced this in favour of Markdown-it along with htmlparser2 to strip all markup from a note. |
||
---|---|---|
.. | ||
checkbox.ts | ||
code_inline.js | ||
fence.ts | ||
fountain.js | ||
highlight_keywords.js | ||
html_image.js | ||
image.js | ||
katex_mhchem.js | ||
katex.js | ||
link_open.js | ||
mermaid_render.js | ||
mermaid.ts | ||
sanitize_html.ts |