mirror of https://github.com/vector-im/riot-web
Use underscore for <em> when doing html > md
to be consistent with the format bar, which also uses underscores for italicspull/21833/head
parent
133e68191a
commit
0a663398ed
|
@ -90,7 +90,7 @@ function parseElement(n, partCreator, state) {
|
|||
case "BR":
|
||||
return partCreator.newline();
|
||||
case "EM":
|
||||
return partCreator.plain(`*${n.textContent}*`);
|
||||
return partCreator.plain(`_${n.textContent}_`);
|
||||
case "STRONG":
|
||||
return partCreator.plain(`**${n.textContent}**`);
|
||||
case "PRE":
|
||||
|
|
Loading…
Reference in New Issue