[wp-trac] [WordPress Trac] #25415: magically (improperly!) inserted P tag

WordPress Trac noreply at wordpress.org
Thu Sep 26 17:51:03 UTC 2013

#25415: magically (improperly!) inserted P tag
 Reporter:  crysman            |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Formatting         |     Version:  3.6.1
 Severity:  major              |  Resolution:
 Keywords:  reporter-feedback  |

Comment (by crysman):

 Yes, here is the real example:

 <article class="post group">
 <!-- <h1><a href="#" rel="bookmark" title="link to this post" title="odkaz
 na tuto stránku">Přihlášení</a></h1>-->
 <!-- debug -->
 <!-- //debug -->
 <p><h1>Přihlášení do Lužáneckého profilu</h1>
 <br /><form action="/profil/prihlaseni/" method="POST" id="form-
 prihlasovani" >
 <th><label for="form-email">Přihlašovací e-mail: </label></th>
 <td><input type="email" name="email" id="form-email" value=""
 placeholder="@" required></td>    </tr>
 <th><label for="form-heslo-nevalidovat">Heslo: </label></th>
 <td><input type="password" name="password" id="form-heslo-nevalidovat"
 required></td>   </tr>
 <td colspan="2">
 <input type="submit" value=" Přihlásit ">           <a
 href="xxx">Zapomněli jste heslo?</a>           |           <a
 href="xxx">Registrace</a>    </td>   </tr>
 <input type="hidden" name="redirect_to" value="">       <input
 type="hidden" name="xxx" value="xxx" />
 <br /></p>

 Here is the WRC reported markup error:

 Error Line 207, Column 10: No p element in scope but a p end tag seen.
 <br /></p>

 In the code above it is the line just before the ending ARTICLE tag. It is
 very probably because TABLE doesn't like to be in P element...

Ticket URL: <http://core.trac.wordpress.org/ticket/25415#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list