-
-
Notifications
You must be signed in to change notification settings - Fork 140
Throws error when styles are corrupted #256
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Expected Behavior
- Parse a string with a corrupted style attribute, e.g. ‘<p style="font - size: 1em">X</p>’
- Return a version that skips the corrupted style ‘<p>X</p>’?
Actual Behavior
Steps to Reproduce
Throws an exception: undefined:1:6: property missing ':'
Reproducible Demo
https://jsfiddle.net/bjwmd5s6/
Environment
- Version: 1.2.6
- Platform: Mac
- Browser: Tested on Firefox
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working