Skip to content
This repository was archived by the owner on Aug 6, 2021. It is now read-only.

Fix issue with common "{{ }}" template syntax in a CSS rule #30

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Lixivial
Copy link

This adjusts the regex to meet the test case outlined in issue #29

Basically it expands the syntax parsing to ignore }} in both the @media and non @media query cases, while also ensuring that all further text in the capture group is maintained.

In addition, I added 6 or 7 more unit tests and cleaned up a couple of unit tests to add other potential regression checks.

Copy link

@thapedict thapedict left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much needed feature and would love for it to be merged in.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants