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

"Unable to parse your markup" when switch between modes #572

Open
vladKrk opened this issue Jan 28, 2025 · 1 comment
Open

"Unable to parse your markup" when switch between modes #572

vladKrk opened this issue Jan 28, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@vladKrk
Copy link
Contributor

vladKrk commented Jan 28, 2025

How to reproduce

  1. Open editor in markdown format
  2. Add this to your markup [ ] page={number} ( checkbox with content that has brackets )
  3. Try to switch mode to "Visual Editor" or click button Preview

Expected result

Mode switched, markup is correct

Current Result

Image

Additional info

I reproduced it in mardown-editor playground, the error comes from markdown-it-attrs.
If paste content in markdown mode without checkbox, like this page={number} this will transform in visual editor like this page=

@vladKrk vladKrk added the bug Something isn't working label Jan 28, 2025
@d3m1d0v
Copy link
Member

d3m1d0v commented Jan 28, 2025

Problem in transformer, same issue in diplodoc: diplodoc-platform/transform#559

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants