Closing tags on footer are lost when page renders

A place to ask questions and get help. Be the first on your block to post ...

Closing tags on footer are lost when page renders

Postby s-tfergus2 » Fri Jan 29, 2010 3:43 pm

All of my pages are failing validation on the 'footer.html' and 'footerContactInfo.html' with the following errors:


============================================
Line 395, Column 46: end tag for "p" omitted, but OMITTAG NO was specified
<InstanceEndEditable></div>✉
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

Line 391: start tag was here
><p><strong>Biological Process Development Facility</strong><br>
=============================================


Line 407, Column 180: end tag for "a" omitted, but OMITTAG NO was specified
…g" alt="UNL's wordmark" /></a> </div>✉
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

Line 398, Column 191: start tag was here
…know more about UNL">About UNL</a> | <a href="http://www1.unl.edu/comments/"
=============================================

When I view the source code from the browser, sure enough those elements to not show any closing tag

I managed to prevent the errors by double-closing the <p> tag on 'footerContactInfo.html' and by double-closing the <a> tag on 'footer.html' but this doesn't make any sense to me...

Anyone else have this problem, or know why I am?
s-tfergus2
 
Posts: 3
Joined: Thu Jun 12, 2008 2:06 pm

Postby saltybeagle » Tue Apr 13, 2010 5:49 pm

This doesn't happen to be an IIS server, is it?

I think we've seen this issue before if an include file doesn't have a newline as the last character, IIS trims off the last line or the last tag.

You can test this by just inserting additional characters at the end of the included file.
Brett Bieber
Image
saltybeagle
 
Posts: 376
Joined: Fri Jan 16, 2004 3:10 pm
Location: 321 Admin


Return to Help & Assistance

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron