mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
Use underscore for <em> when doing html > md
to be consistent with the format bar, which also uses underscores for italics
This commit is contained in:
parent
133e68191a
commit
0a663398ed
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue