Explorar el Código

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 hace 2 años
padre
commit
a2f9642238
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      prose/markdownSerializer.js

+ 2
- 2
prose/markdownSerializer.js Ver fichero

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


Cargando…
Cancelar
Guardar