call paragraph renderer for stray text tokens.

This commit is contained in:
Christopher Jeffrey 2013-12-04 05:35:30 -06:00
parent 8e51a68125
commit b0941b9151

View File

@ -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());
}
}
};