summaryrefslogtreecommitdiff
path: root/lib/web/auth/oauth2/index.js
diff options
context:
space:
mode:
authorDavid Mehren2021-02-13 17:54:38 +0100
committerDavid Mehren2021-02-16 22:06:45 +0100
commit0f7f11e4f3c2bbae78705f2e5c71faa51556e016 (patch)
treec46e83609bfecfdb28007fae1c878db365a33613 /lib/web/auth/oauth2/index.js
parent27ffe2515bd3d4bc9c604c2d32598f248909fefe (diff)
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions