Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

Make the clean_class filter act like Drupal one.#5

Open
RedLucas wants to merge 1 commit into
pattern-lab:masterfrom
RedLucas:patch-2
Open

Make the clean_class filter act like Drupal one.#5
RedLucas wants to merge 1 commit into
pattern-lab:masterfrom
RedLucas:patch-2

Conversation

@RedLucas
Copy link
Copy Markdown

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
Copy Markdown

@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 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