Markdown: Don't XML escape the output when not HTML

Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
pull/21833/head
Johannes Löthberg 2017-01-17 22:20:05 +01:00
parent 49d60ff879
commit 2e3bdcf5c6
1 changed files with 4 additions and 0 deletions

View File

@ -78,6 +78,10 @@ export default class Markdown {
}
}
} else {
renderer.out = function(s) {
this.lit(s);
}
renderer.paragraph = function(node, entering) {
// If there is only one top level node, just return the
// bare text: it's a single line of text and so should be