call paragraph renderer for stray text tokens.
This commit is contained in:
parent
8e51a68125
commit
b0941b9151
@ -1015,9 +1015,7 @@ Parser.prototype.tok = function() {
|
||||
return renderer.paragraph(this.inline.output(this.token.text));
|
||||
}
|
||||
case 'text': {
|
||||
return '<p>'
|
||||
+ this.parseText()
|
||||
+ '</p>\n';
|
||||
return renderer.paragraph(this.parseText());
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user