Django uniform output invalid HTMl #124

Open
ksamuel opened this Issue Jan 9, 2012 · 1 comment

Projects

None yet

2 participants

@ksamuel
ksamuel commented Jan 9, 2012

I have a gigantic layout, and part of it is:

   layout = Layout(
        super(ThisForm, self).get_layout(),
        MultiField(
            u'<h3>Section J</h3>',
            Div(*(
                ThisForm.get_section_j_fields() +
                [HTML("<a href='#' class='button button-next'>Next</a>")]
            )),
            css_id = "step9",
            css_class = "form-step"
        ),
       [...]

It produces the following HTML:

<p class="blockLabel"/><h3>Section J</h3><p/>

Notice that the first 'p' tag is self closed.

@pydanny
Collaborator
pydanny commented Jan 9, 2012

Please submit this ticket to https://github.com/maraujop/django-crispy-forms as it is where development on this project is occuring going forward. Thanks!

@ksamuel ksamuel referenced this issue in django-crispy-forms/django-crispy-forms Feb 22, 2012
Closed

Invalid HTML output #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment