Opened 9 years ago

Closed 9 years ago

#9119 closed Bug (duplicate)

meta tag in body causes invalid html structure

Reported by: Marina Owned by:
Priority: Normal Milestone:
Component: General Version: 3.6.3
Keywords: Cc:


When there is a meta tag in the body of the html, the body and html tags being closed just before the start of the meta tag, instead at the end of the document. I'm using Full Page option

This is the html: <!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 TransitionalEN" ""> <?xml version="1.0" encoding="UTF-8"?> <html>



</head> <body>

<meta name="emailThisHash" content="mCx5aKlDJki31/mIVbNHdg"> <div class="articleBody"> <div itemprop="sourceOrganization" itemscope itemtype="" itemid=""> <meta itemprop="name" content="The New York Times Company"/> <meta itemprop="url" content=""/> </div>

<div> Test 1 2 3 </div>


This is outputed html: <!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 TransitionalEN" ""> <?xml version="1.0" encoding="UTF-8"?> <html>



</head> <body> </body>

</html> <meta content="mCx5aKlDJki31/mIVbNHdg" name="emailThisHash" /> <div class="articleBody">

<div itemid="" itemprop="sourceOrganization" itemscope="" itemtype=""> </div>

</div> <meta content="The New York Times Company" itemprop="name" /> <meta content="" itemprop="url" /> <div>

Test 1 2 3</div>

Change History (1)

comment:1 Changed 9 years ago by Jakub Ś

Keywords: meta body removed
Resolution: duplicate
Status: newclosed

What you talk about is HTML5 microformat. This is a DUP of #8117.

Note: See TracTickets for help on using tickets.
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy