-
Notifications
You must be signed in to change notification settings - Fork 6
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
Fix handling of inline HTML #28
Comments
Forked and fixed in pulldown-cmark: https://github.com/maghoff/pulldown-cmark Upstream pull request: pulldown-cmark/pulldown-cmark#103 |
See https://github.com/maghoff/sausagewiki/compare/proper_html_handling for relevant local changes |
This has now been merged to master, so master depends on this fork: https://github.com/maghoff/pulldown-cmark Keeping this issue open to track upstream development. |
Why are you trying to block inline HTML, instead of using a sanitizer pass like GitHub does?
|
Are at least |
@notriddle Thank you for bringing the security issue to my attention. The choice of markup language for the wiki is merely one of many design descisions that have gone into making Sausagewiki what it is. I find Markdown without HTML to be a good, simple markup language, while I do not find the same for Markdown with HTML. Simplicity has been a goal all along, Commonmark conformance not a goal. The alternative for Sausagewiki would not be Markdown with HTML, but rather another simple language altogether. @vi You could try and see? ☺ |
Currently pulldown-cmark parses inline HTML as HTML (in adherence to the CommonMark spec). Sausagewiki takes this HTML and reframes it as text, because inline HTML is weird.
Instead, the parser should be configured not to look for HTML in the input.
The text was updated successfully, but these errors were encountered: