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

Pegdown escapes HTML in code blocks, but not in other output #236

Open
jwgmeligmeyling opened this issue Jun 12, 2016 · 0 comments
Open

Comments

@jwgmeligmeyling
Copy link

Pegdown escapes HTML in code blocks, but not in other output. If I want to protect myself against XSS, I have to escape the input for pegdown manually, this however results in code blocks being escaped twice, resulting in wrong output.

I am looking for an option to either disable escaping for code blocks - and doing escaping myself, or an option to enable HTML escaping for all elements (which I think should have been default).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant