Skip to content

Conversation

@thecrypticace
Copy link
Contributor

We do two things here:

  1. Validate that arbitrary properties result in actual parsable css declarations
  2. Ignore malformed css properties (for example beginning with a number)

This prevents generation of classes for things like [0:02] or [autoplay:${autoplay}] which result in invalid css. This does not fix all cases but should help significantly.

Fixes #6395

@thecrypticace thecrypticace merged commit 399440e into master Dec 13, 2021
@thecrypticace thecrypticace deleted the fix/unparsable-values branch December 13, 2021 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Abnormal css ouput when some string in the code is wrapped in square brackets

2 participants