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:
parent
5b3d25b5cc
commit
a2f9642238
|
@ -92,8 +92,8 @@ export const writeFreelyMarkdownSerializer = new MarkdownSerializer(
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
em: {
|
em: {
|
||||||
open: "*",
|
open: "_",
|
||||||
close: "*",
|
close: "_",
|
||||||
mixable: true,
|
mixable: true,
|
||||||
expelEnclosingWhitespace: true,
|
expelEnclosingWhitespace: true,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue