Skip to content

Replace possible dots in pattern names with dashes #9

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

Conversation

aleksip
Copy link

@aleksip aleksip commented Jun 20, 2017

Pattern names are used as id/class names in the PL frontend. If pattern names contain dots some PL frontend functionality breaks.

This is an especially important change when using the .html.twig naming convention recommended by the Symfony project and used by Drupal. Twig files are not restricted to HTML after all! :)

Copy link

@evanmwillhite evanmwillhite left a comment

Choose a reason for hiding this comment

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

Code looks good here.

@EvanLovely EvanLovely merged commit c8428db into drupal-pattern-lab:dev Jun 20, 2017
@EvanLovely
Copy link

I've also merged this into master and then released as v2.7.5

@EvanLovely
Copy link

Thanks BTW!!

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.

3 participants