Skip to content
This repository has been archived by the owner on Sep 18, 2022. It is now read-only.

Django uniform output invalid HTMl #124

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

Django uniform output invalid HTMl #124

ksamuel opened this issue Jan 9, 2012 · 1 comment

Comments

@ksamuel
Copy link

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
Copy link
Owner

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants