bugdown: Re-enable support for italics in bugdown.

Fixes: #1103.
This commit is contained in:
Igor Tokarev
2016-11-03 11:56:28 +05:00
committed by Tim Abbott
parent eeca06ea08
commit 852bc6b491
5 changed files with 33 additions and 6 deletions

View File

@@ -742,7 +742,7 @@ InlineLexer.prototype.output = function(src) {
// em
if (cap = this.rules.em.exec(src)) {
src = src.substring(cap[0].length);
out += this.renderer.em(this.output(cap[2] || cap[1]));
out += this.renderer.em(cap[1] + cap[2]);
continue;
}