Closed
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