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

Allow custom elements to be unformatted #540

Merged
merged 1 commit into from
Sep 29, 2014

Conversation

domenic
Copy link
Contributor

@domenic domenic commented Sep 26, 2014

The regex needed to be loosened to allow a dash

There's one more regex with [a-z] instead of [a-z-] but I couldn't figure out what kind of failing test to write for that so I didn't change it.

@evocateur
Copy link
Contributor

For those interested, here's the relevant part of the Web Components spec. Adding a dash certainly seems warranted.

evocateur added a commit that referenced this pull request Sep 29, 2014
Allow custom elements to be unformatted
@evocateur evocateur merged commit 3befb53 into beautifier:master Sep 29, 2014
@bitwiseman bitwiseman added this to the v1.5.2 milestone Sep 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants