-
Notifications
You must be signed in to change notification settings - Fork 402
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
img attribute is getting removed #35
Comments
Looks like the Cross Site Scripting (XSS) protection is kicking in. You can configure that via https://www.stackage.org/haddock/lts-7.18/markdown-0.1.16/Text-Markdown.html#v:msXssProtect |
@snoyberg This worked. But do you think XSS should disable |
I'm not sure if there are XSS implications to the |
I'm using imgsrc to support high-resolution display images: https://webkit.org/demos/srcset/
Since Markdown has no built-in support for this, I'm writing out the HTML manually:
But your Markdown library strips this down to
It just gets rid of the
srcset
. Why, and how can I solve this?The text was updated successfully, but these errors were encountered: