Skip to main content
Participant
November 5, 2018
Answered

Insert Date command not working

  • November 5, 2018
  • 2 replies
  • 447 views

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

    This topic has been closed for replies.
    Correct answer Nancy OShea

    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

    2 replies

    Participant
    November 5, 2018

    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

    Nancy OShea
    Community Expert
    Nancy OSheaCommunity ExpertCorrect answer
    Community Expert
    November 5, 2018

    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

    Nancy O'Shea— Product User & Community Expert