This project is read-only.

Blog post header had incorrect closing tag

Mar 28, 2010 at 9:29 AM

When using chrome the page text is incorrect.  This only happens in chorme,  In firefox and iexplorer this is not an issue.  Perhaps they handle the code differently.


Please visit: with chrome first and the with firefox or iexplorer.  notice how the post text is incorrect in chorme?

It has to do the the end tag of <h2> being </h1> not </h2>.  Take a look at the below line from my page.  I right click and viewed the source. 

 <h2 class="title"><a class="postheader taggedlink" href="/BlogEngine/post/Here-is-my-even.aspx">Here is my even</a></h1>

Problem is I do not know how to fix it. How are the tags chosen?

Any suggestions.

Mar 28, 2010 at 11:21 AM

Those tags are coming from the theme's PostView.ascx file.  In your theme folder (themes\THEME NAME), you'll find PostView.ascx.  In there is where you should find the mismatched tag names.  You can just edit it right there.

Mar 28, 2010 at 6:06 PM

Thanks Ben.  That took care of the issue.