FIX: keep '<kbd>' formatting when quoting posts

This commit is contained in:
Régis Hanol
2018-05-16 17:40:45 +02:00
parent d5ae0a92ef
commit 938934f5e9
2 changed files with 4 additions and 1 deletions

View File

@ -181,6 +181,9 @@ QUnit.test("supporting html tags by keeping them", assert => {
html = `Lorem <del>ipsum dolor</del> sit.`;
assert.equal(toMarkdown(html), html);
html = `Have you tried clicking the <kbd>Help Me!</kbd> button?`;
assert.equal(toMarkdown(html), html);
html = `Lorem <a href="http://example.com"><del>ipsum \n\n\n dolor</del> sit.</a>`;
output = `Lorem [<del>ipsum dolor</del> sit.](http://example.com)`;
assert.equal(toMarkdown(html), output);