Skip to content

Make the clean_class filter act like Drupal one.#5

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

Make the clean_class filter act like Drupal one.#5
RedLucas wants to merge 1 commit intopattern-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 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