Skip to content

\ converted to \textbackslash when between $ #248

@VictorDubois

Description

@VictorDubois

Describe your issue

Hello,

I have found an error, when you save a page with a \ symbol, which is between two $ symbols. It is replaced by \textbackslash, even if the symbols are several paragraphs apart.

$
`\`
$

Workaround (if it is possible for you): add a useless extra $ symbol before the \ symbol

Device and settings

Ubuntu 24.04, Chrome (but unrelated, as the error is server-side)

Steps to reproduce

  • Create a new page, with:
$
`\`
$
  • Save

  • Reopen the editor, the content is now

$
`\textbackslash`
$

Screenshots (optional)

Image
left: editor
center: preview (agrees with me to what the output should look like)
right: actual page after saving (does not agree with the preview)

Extra fields

  • I'd like to work on this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions