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));
|
return renderer.paragraph(this.inline.output(this.token.text));
|
||||||
}
|
}
|
||||||
case 'text': {
|
case 'text': {
|
||||||
return '<p>'
|
return renderer.paragraph(this.parseText());
|
||||||
+ this.parseText()
|
|
||||||
+ '</p>\n';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user