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 Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
cover.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
extra.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
history.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
htmlExport.js
index.js Fix HTML clipboard import 2021-02-16 22:06:45 +01:00
locale.js
mathjax-config-extra.js
pretty.js
render.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
reveal-markdown.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
slide.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
utils.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00