Closed vanillajonathan closed 2 years ago
Thanks for starting this. I'm wondering how the HtmlSanitizerOptions
should tie in with the static DefaultAllowedTags
etc. properties that are already in HtmlSanitizer. Should there be an additional DefaultOptions
property or should it replace the individual properties? cc @tiesont
Thanks for starting this. I'm wondering how the
HtmlSanitizerOptions
should tie in with the staticDefaultAllowedTags
etc. properties that are already in HtmlSanitizer. Should there be an additionalDefaultOptions
property or should it replace the individual properties? cc @tiesont
I think you'd wind up with a simpler process for setting up a sanitizer if this just completely replaces the existing properties.
I agree with @tiesont.
Sorry, I had forgot about this. It builds now.
Could you adapt the unit tests to cover the changes?
Now it says there is coverage.
Codecov Report
96.17% <100.00%> (+0.05%)
100.00% <100.00%> (ø)
Continue to review full report at Codecov.