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

HTML in markdown not escaping correctly (not rendering as HTML) #443

Closed
1 of 5 tasks
thescientist13 opened this issue Dec 12, 2020 · 0 comments · Fixed by #444
Closed
1 of 5 tasks

HTML in markdown not escaping correctly (not rendering as HTML) #443

thescientist13 opened this issue Dec 12, 2020 · 0 comments · Fixed by #444
Assignees
Labels
alpha.1 bug Something isn't working CLI v0.10.0 website Tasks related to the projects website / documentation

Comments

@thescientist13
Copy link
Member

thescientist13 commented Dec 12, 2020

Type of Change

  • New Feature Request
  • Documentation / Website
  • Improvement / Suggestion
  • Bug
  • Other (please clarify below)

Summary

In the new release/0.10.0 branch, HTML is getting escaped and not rendering correctly, and comes out as

<img src="/assets/netlify-registration.png" alt="netlify-registration" style="max-width:800px;"/>

Screen Shot 2020-12-12 at 1 12 35 PM

Details

Well, that explains what rehype-raw was for, oops.

Note: remark-rehype doesn’t deal with HTML inside the Markdown. You’ll need rehype-raw if you’re planning on doing that.

Should be a quick fix. 😊

@thescientist13 thescientist13 added bug Something isn't working website Tasks related to the projects website / documentation CLI labels Dec 12, 2020
@thescientist13 thescientist13 self-assigned this Dec 12, 2020
@thescientist13 thescientist13 changed the title HTML in markdown not working HTML in markdown not escaping correctly (not rendering as HTML) Dec 12, 2020
@thescientist13 thescientist13 linked a pull request Dec 12, 2020 that will close this issue
@thescientist13 thescientist13 mentioned this issue Dec 20, 2020
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alpha.1 bug Something isn't working CLI v0.10.0 website Tasks related to the projects website / documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant