Editing markdown field extra backslashes


I have problems when editing markdown fields, after saving I’m getting extra backslashes which broke formatting. Copy/paste from “show markup” helps in some cases but generally editing content in few places is very difficult.

Also getting some html tags are deleted from content when saving.

Can you give me concrete examples?

For example, markup:

<span style="display:flex; justify-content:center; gap:0 80px;">  



after saving show as:

<span style="display:flex; justify-content:center; gap:0 80px;">  



I am confused. This is not markdown.

It’s a preview with “Show Markup (readonly)”, extra backslashes are there visible.

I still have no idea what you are talking about, sorry. If you can give me a reproducible step-by-step list I would appreciate it.

Your markup is not markdown, therefore I am super confused.

Ok, searched information about markdown and found this:

Note that Markdown formatting syntax is not processed within block-level HTML tags. E.g., you can’t use Markdown-style emphasis inside an HTML block.

But it is explicitly allowed for span-level tags:

Unlike block-level HTML tags, Markdown syntax is processed within span-level tags.

Problem was that I needed to extra format some markdown and wrapped it with div element, that causes the problems.


1 Like