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

Error: Special characters must be escaped

Community Beginner ,
Sep 08, 2024 Sep 08, 2024

Copy link to clipboard

Copied

This error message accompanies every insert>image point., i.e., at (< and >)  in <img scr="etc..."</>

 

I tried to correct using HTML code but that just made the image disappear and the new HTML code appear.

The page looks fine otherwise. Is this just a quirk of DW?

Thanks

Gregnewbie

Views

253

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 3 Correct answers

Community Expert , Sep 08, 2024 Sep 08, 2024

This implies that you have stray characters elsewhere in your document that DW can't resolve. 

Validate code and fix reported errors. 

Go to Window > Results > Validation.  Check document.

 

Hope that helps.

 

 

 

Votes

Translate

Translate
Community Expert , Sep 08, 2024 Sep 08, 2024

The image element is a void element, meaning that it does not have a closing tag as in </img>. The proper format is

<img src="... " alt=" ..." width="..." height="..."> or <img src="... " alt=" ..." width="..." height="..." />. The former is the prefered option.

Votes

Translate

Translate
Community Expert , Sep 10, 2024 Sep 10, 2024

@Gregnewbie,

What's the URL to your online page where this occurs, please?

We need to see your document.

 

 

 

 

Votes

Translate

Translate
Community Expert ,
Sep 08, 2024 Sep 08, 2024

Copy link to clipboard

Copied

This implies that you have stray characters elsewhere in your document that DW can't resolve. 

Validate code and fix reported errors. 

Go to Window > Results > Validation.  Check document.

 

Hope that helps.

 

 

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

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 Expert ,
Sep 08, 2024 Sep 08, 2024

Copy link to clipboard

Copied

The image element is a void element, meaning that it does not have a closing tag as in </img>. The proper format is

<img src="... " alt=" ..." width="..." height="..."> or <img src="... " alt=" ..." width="..." height="..." />. The former is the prefered option.

Wappler, the only real Dreamweaver alternative.

Votes

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 ,
Sep 10, 2024 Sep 10, 2024

Copy link to clipboard

Copied

What am I doing wrong. I insert>image and click on photo. The image appears but the code is "<scr.."...image.html/thing.jpg""  which verification says is an error and should only be <scr"...image/"thing.jpg" i.e., no "html". 

 

Thanks

Votes

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 Expert ,
Sep 10, 2024 Sep 10, 2024

Copy link to clipboard

Copied

@Gregnewbie,

What's the URL to your online page where this occurs, please?

We need to see your document.

 

 

 

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

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 ,
Sep 10, 2024 Sep 10, 2024

Copy link to clipboard

Copied

Regarding Insert>Image problem: I found my error.

 

Thanks Nancy et al.

Votes

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 Expert ,
Sep 10, 2024 Sep 10, 2024

Copy link to clipboard

Copied

LATEST

 

quote

I found my error.

By @Gregnewbie

=========

What was your solution? 

It might help other users with a similar problem.

 

[Moved to original topic.]

https://community.adobe.com/t5/dreamweaver-discussions/error-special-characters-must-be-escaped/m-p/...

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

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