Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backticks are replaced with ` in the editor #381

Open
nemesis7833 opened this issue Sep 21, 2022 · 2 comments
Open

Backticks are replaced with ` in the editor #381

nemesis7833 opened this issue Sep 21, 2022 · 2 comments
Assignees
Labels
bug Issue with Existing Functionality pending Pending Close. Respond

Comments

@nemesis7833
Copy link

When I open the editor, all backtick (`) characters are replaced with the HTML encoded version (`), causing the code blocks inside my markdown file to be broken, so I just see `code` instead of code

@ryanlelek
Copy link
Owner

Thanks for reporting.
Yes, this is a side-effect of a security fix that needs a better solution, in #370
I'll mark this as a bug and work on it when able

What happens for clarity:

  • You write normal markdown in a new file
  • Raneto saves this to a file
  • You edit the file
  • Raneto loads your content and HTML-encodes it
  • When you save your changes, the HTML-encoded version gets sent to Raneto and saved like before
  • It's no longer Markdown and is HTML-encoded as you mentioned

@ryanlelek ryanlelek added the bug Issue with Existing Functionality label Oct 26, 2022
@ryanlelek ryanlelek added the pending Pending Close. Respond label Feb 21, 2024
@ryanlelek ryanlelek self-assigned this Feb 21, 2024
@ryanlelek
Copy link
Owner

Update: this should be fixed now in v0.17.7
Expected in NPM in ~24 hours or so

Related commit: 863aaf5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue with Existing Functionality pending Pending Close. Respond
Projects
None yet
Development

No branches or pull requests

2 participants