apostrophecms / sanitize-html

Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis. Built on htmlparser2 for speed and tolerance

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`parseStyleAttributes` is not present in 2.8.1

bilobom opened this issue · comments

parseStyleAttributes option from #596 is not present in 2.8.1
as noted in the changelog

To Reproduce

Step by step instructions to reproduce the behavior:

1.install latest version 2.8.1
2. inspect the bundled index.js , the condition to check this option is not present

Expected behavior

parseStyleAttributes to be present in 2.8.1

Describe the bug

parseStyleAttributes option does nothing because is not present in bundle

Details

Screenshots
image

This just hasn't shipped yet, it will ship Wednesday. We usually have an "UNRELEASED" section in our changelog to avoid confusion but bear with us this time.