Copy link to clipboard
Copied
Hi All,
I am using the insert date command across numerous pages in Dreamweaver CS6 but on some page it fails to save correctly.
The correct code looks like this -
<p align="center" class="One">This page last updated on<br><!-- #BeginDate format:Am1 -->November 5, 2018<!-- #EndDate --></p>
But when I clickl save it rewrites it to look like this -
<p align="center" class="One">This page last updated on<b<!-- #BeginDate format:Am1 -->November 5, 2018<!-- #EndDate -->-></p>
I manually amend the code, save again and it becomes this -
<p align="center" class="One">This page last updated on<<!-- #BeginDate format:Am1 -->November 5, 2018<!-- #EndDate -->-></p>
Can anyone advise what is corrupting the Insert Date code in Dreamweaver and how I can fix this please.
Many thanks,
Adrian
I'm guessing you have unclosed tags higher up in the document that DW is attempting to resolve. Validate code and fix all reported errors.
Copy link to clipboard
Copied
I'm guessing you have unclosed tags higher up in the document that DW is attempting to resolve. Validate code and fix all reported errors.
The W3C Markup Validation Service
Copy link to clipboard
Copied
Perfect, thank you.
I had a duplicate ID tag on a SPAN that I hadn't noticed.
Many thanks for such a swift response. Very much appreciated.
Adrian