I have a strange problem I can't seem to find a solution for or why it is even happening.
I have a page layout, in the page layout I have the title in an edit mode panel ...
<!-- Edit Title -->
<PublishingWebControls:EditModePanel runat=server
PageDisplayMode="Edit"><SharePointWebControls:TextField
FieldName="Title" runat="server" ID="TitleEdit" /></PublishingWebControls:EditModePanel>
Then I have a display mode panel to wrap it with a H1 tag ...
<!-- Display Title -->
<PublishingWebControls:EditModePanel runat=server
PageDisplayMode="Display"><h1><SharePointWebControls:FieldValue
FieldName="Title" runat="server" ID="TitleDisplay" /></h1></PublishingWebControls:EditModePanel>
Everything should be great, but when I view the code this is what I see ...
<!-- Display Title --><div><h1>Sign-up forms</h1></div>
I have no idea what is going on ... Thanks for any help!
