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 Use JavaScript Standard Style (part 2) 2017-03-09 02:41:05 +08:00
index.js Fix HTML clipboard import 2021-02-16 22:06:45 +01:00
locale.js Add config option for cookie SameSite policy 2020-08-27 02:04:49 +02:00
mathjax-config-extra.js Fix MathJax config not being picked up 2017-10-22 02:48:24 +02:00
pretty.js Fix eslint warnings 2019-05-31 00:30:29 +02:00
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