html-purify icon indicating copy to clipboard operation
html-purify copied to clipboard

HTML5 Purify

Results 6 html-purify issues
Sort by recently updated
recently updated
newest added

I am trying to add an exception for Vimeo and Youtube video iframes while purifying the html content. Can anyone please help me out to add such exception in this...

@maditya please review I addressed the problems stated in https://github.com/yahoo/html-purify/pull/21 with an approach that centralizes a single place to capture and treat attribute values. c.c @yukinying @neraliu

**Changes** - fix: optional tags are ignored during balancing, i.e., well-balanced input will not be broken by attempting to close optional tags. - tag balancing logics simplified (accept closing tag...

use `benchmark` for benchmarking

"x" is added to the src data part. For example before purifying: `` after purifying: `` "x-data:image/png" is an invalid value for image src. It turns out the images can...

`` it's not vulnerable itself. but after purification, it becomes `` this boils down to the problem of always using double quote in html purifier since v1.0 https://github.com/yahoo/html-purify/blob/v1.0.0/src/html-purify.js#L66 reported here...

bug