Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Insert Date command not working

Community Beginner ,
Nov 05, 2018 Nov 05, 2018

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

474
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 05, 2018 Nov 05, 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

Translate
Community Expert ,
Nov 05, 2018 Nov 05, 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 & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 05, 2018 Nov 05, 2018
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines