Skip to content

Sanitize all render output using Loofah - #12

Open
polypixeldev wants to merge 2 commits into
etaminstudio:masterfrom
polypixeldev:sanitize-html
Open

Sanitize all render output using Loofah#12
polypixeldev wants to merge 2 commits into
etaminstudio:masterfrom
polypixeldev:sanitize-html

Conversation

@polypixeldev

Copy link
Copy Markdown

Prevents malicious HTML from being rendered using methods like javascript: links and onerror attributes, using Loofah's sanitize helper. Updated tests that failed as a result of this PR to pass - it seems that the sanitize method adds some whitespace.

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

Successfully merging this pull request may close these issues.

1 participant