Browse Source

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).
pull/506/head
Matt Baer 2 years ago
parent
commit
a2f9642238
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      prose/markdownSerializer.js

+ 2
- 2
prose/markdownSerializer.js View File

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


Loading…
Cancel
Save