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

Stand-alone images have underscores (and maybe other characters) escaped when stringifying #269

Open
cloverich opened this issue Nov 16, 2024 · 0 comments
Labels
bug Something isn't working markdown Issue related to markdown parsing or serializing

Comments

@cloverich
Copy link
Owner

After updating markdown libs ( #265 ), alt / title in image links are escaped when underscored:

[my_image](../some_image.jpg)

Becomes

[my\_image](../some_image.jpg)

This only happens when the image is stand-alone and not part of a larger paragraph:

This has no issues [my_image](../some_image.jpg)

It may be related to image unwrapping, where I unwrap solo images before handing off to slate; investigate whether re-wrapping fixes.

@cloverich cloverich added bug Something isn't working markdown Issue related to markdown parsing or serializing labels Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working markdown Issue related to markdown parsing or serializing
Projects
None yet
Development

No branches or pull requests

1 participant