Skip to content

Why is "<" escape encoded by rehype-stringify and how to disable? #51

Answered by wooorm
sgpinkus asked this question in Q&A
Discussion options

You must be logged in to vote

The > does not need to be encoded 🤷‍♂️ If a browser or something else is parsing HTML, and it’s in text, then when it sees >, it’s just like when it sees any other character!

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@sgpinkus
Comment options

@wooorm
Comment options

@sgpinkus
Comment options

@sgpinkus
Comment options

Answer selected by ChristianMurphy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants