After discussion on #558 with @rtfeldman we decided that the cat is out of the bag on restricting users from being able to apply multiple css attributes to a single node. This has already been allowed for child nodes of the node passed to toUnstyled so this PR simply allows this on the root node as well (and we get to pull some code 😁).
This will cause less confusion for users of this library. Previously converting a node to be lazy could cause css styles to be dropped.
Fix #558
After discussion on #558 with @rtfeldman we decided that the cat is out of the bag on restricting users from being able to apply multiple
css
attributes to a single node. This has already been allowed for child nodes of the node passed totoUnstyled
so this PR simply allows this on the root node as well (and we get to pull some code 😁).This will cause less confusion for users of this library. Previously converting a node to be lazy could cause
css
styles to be dropped.