hedgedoc/public/js
David Mehren 0f7f11e4f3
Fix HTML clipboard import
jQuery's .html() method escapes contained text (e.g. '<' becomes
'&lt;'). This confuses the turndown parser, which then only performs
unescaping, but does not convert to markdown.
By using .text() instead, the unescaped content is returned and turndown
can correctly generate markdown.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-16 22:06:45 +01:00
..
lib
cover.js
extra.js
history.js
htmlExport.js
index.js
locale.js
mathjax-config-extra.js
pretty.js
render.js
reveal-markdown.js
slide.js
utils.js