Markdown: Don't XML escape the output when not HTML
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
This commit is contained in:
parent
49d60ff879
commit
2e3bdcf5c6
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue