hedgedoc/public
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
..
banner
css
docs
fonts
icons
js Fix HTML clipboard import 2021-02-16 22:06:45 +01:00
uploads
vendor
views Switch to ejs 3 compliant imports 2021-02-09 20:27:39 +01:00
.eslintrc.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
default.md
screenshot.png