Skip to main content
cordeliag33413048
Known Participant
August 2, 2017
Answered

Code Error

  • August 2, 2017
  • 3 replies
  • 2034 views

I am having some trouble with code in Adobe Dreamweaver CC 2017 app.

I am seeing the message "Special Characters must be escaped : [<].

This is one of the error:

<script "src"='js/device.min.js'></script>

However I am lost and confused as to what that phrase means and how I can solve this issue.

Can I please get some assistance?  Thank you so much in advance.

[Moved from the Lounge (which is where you can "connect with your peers" from across all of Adobe's products for conversations that don't directly relate to help and support) to a product-specific support forum by a moderator.]

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

    I want you to be aware of the indicators in DW's Code View.  These will alert you to code errors before they become bigger problems.   In this example, I'm missing a closing </dv> tag on line 171 and my omission is being flagged in red.   The Output Panel tells me the unclosed  <div> started on line 153.

    In addition, DW has a built in HTML validation tool.  It's good practice to run validation checks often during development.

    If you're unsure of the correct syntax, delete the problem link & use the Insert Menu to add a new Script to the document.

    Assuming your site is properly defined, DW will create the correct code for you.

    Nancy

    3 replies

    cordeliag33413048
    Known Participant
    August 3, 2017

    Nancy i am using the forums.adobe.com site that DW Team told me to check.

    can you post the exact link to post in so that i may.  i am not doing this on purpose.

    Jon Fritz
    Community Expert
    Community Expert
    August 3, 2017

    Here is a link to the Dreamweaver Forum Home Page: Dreamweaver support forum

    If you have a question that isn't answered by searching, click "Start a Discussion" under Still have questions?

    cordeliag33413048
    Known Participant
    August 2, 2017

    I got the most of the errors completed except for one.

    I cannot for the life of me figure out how to correct this error.

    This is the error:

    Search Output GIT

                 Line     Column    Errors/Warnings

    *           118       414          Tag must be paired, missing: [</b>], start tag match failed [<b>] on line 118

    *           118       418          Tag must be paired, no start tag: [</b>]

    Can i please get some assistance?  Please.  I am starting to panic.

    Jon Fritz
    Community Expert
    Community Expert
    August 2, 2017

    The original error you mention for the line...

    <script "src"='js/device.min.js'></script>

    ...isn't valid html. When you have an attribute in a tag, say the src (source) attribute as above, the value of the attribute needs quotation marks around it, not the attribute itself. Remove the double quotes around the src, and it will validate. Basically, because you have errant double quotes, you're confusing the validator into reading the rest of your html incorrectly, generating the "escaped character" error.

    The error about the <b> tag means the validator sees a <b> tag (to start a line of bold text) and no matching </b> (with the leading slash) to end the bold text. It could be missing, or outside the container that the text is in.

    It's hard to say without seeing your actual code where the issue would lie though.

    cordeliag33413048
    Known Participant
    August 2, 2017

    Thank you so much. I got majority of the errors corrected except one

    Sent from my iPhone

    cordeliag33413048
    Known Participant
    August 2, 2017

    I got the most of the errors completed except for one.

    I cannot for the life of me how to correct this error.

    This is the error:

    Search Output GIT

                 Line     Column    Errors/Warnings

    *           118       414          Tag must be paired, missing: [</b>], start tag match failed [<b>] on line 118

    *           118       418          Tag must be paired, no start tag: [</b>]

    Can i please get some assistance?  Please.  I am starting to panic.