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

Element id is ignored when given after classes #126

Open
adrianzamorski opened this issue Feb 12, 2013 · 0 comments · Fixed by nyaruka/django-hamlpy#15 · May be fixed by #158
Open

Element id is ignored when given after classes #126

adrianzamorski opened this issue Feb 12, 2013 · 0 comments · Fixed by nyaruka/django-hamlpy#15 · May be fixed by #158

Comments

@adrianzamorski
Copy link

If you create an element, for example

#element_id.element_class

you'll get

<div id="element_id" class="element_class"></div>

but if you the id after the class:

.element_class#element_id

you'll get a div with class but without the id:

<div class="element_class"></div>
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 a pull request may close this issue.

1 participant