Use underscores for em text in Rich editor

This fixes an issue where mixing strong and em text caused the text
to not render correctly as a post (e.g. *This is **bold text**.*
would fail).
This commit is contained in:
Matt Baer 2021-10-22 11:45:37 -05:00
parent 5b3d25b5cc
commit a2f9642238
1 changed files with 2 additions and 2 deletions

View File

@ -92,8 +92,8 @@ export const writeFreelyMarkdownSerializer = new MarkdownSerializer(
}, },
{ {
em: { em: {
open: "*", open: "_",
close: "*", close: "_",
mixable: true, mixable: true,
expelEnclosingWhitespace: true, expelEnclosingWhitespace: true,
}, },