Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the clean_class filter act like Drupal one. #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RedLucas
Copy link

I would feel more comfortable using the clean_class filter in my pattern-lab templates if I was confident it would do the same in Pattern Lab as it does in Drupal.

I would feel more comfortable using the clean_class filter in my pattern-lab templates if I was confident it would do the same in Pattern Lab as it does in Drupal.
@coreylafferty
Copy link

@EvanLovely I tested this PR and it appears to work fine (without it, clean_class does not replace spaces with dashes as it does in Drupal). Do you think this could be merged in?

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.

2 participants