InvalidCharacterError: Failed to execute 'createElement' #34
Labels
🙅 no/wontfix
This is not (enough of) an issue for this project
👎 phase/no
Post cannot or will not be acted on
Initial checklist
Affected packages and versions
Latest
Link to runnable example
No response
Steps to reproduce
</p><</div>/span>/div><button onClick=alert(1)>
Use rehype-raw
checkboxExpected behavior
Properly filter out malformed HTML tags and ASCII encoding of space ( )
Actual behavior
Attempts to create a HTML element named <button&>
Note: if this is a bug in a dependency, I would appreciate if you could direct me to proper place to report issue. Posting it here because it only occurs when the
rehypeRaw
plugin is enabled forreact-markdown
.Runtime
No response
Package manager
No response
OS
macOS
Build and bundle tools
No response
The text was updated successfully, but these errors were encountered: