Insert Date command not working

Community Beginner ,
Nov 05, 2018 Nov 05, 2018

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

Views

244

Likes

Translate

Translate

Report

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

Adobe Community Professional , 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

Likes

Translate

Translate
Adobe Community Professional ,
Nov 05, 2018 Nov 05, 2018

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

Nancy O'Shea, Adobe Product User & Community Professional
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

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