Skip to main content
Participating Frequently
April 5, 2017
解決済み

"Special characters must be escaped", but where are they?

  • April 5, 2017
  • 返信数 4.
  • 3347 ビュー

Hello all,

I keep seeing this in various places on my site and it's not clear to me where the issue is on this line.  Any help would be greatly appreciated.

Thanks!

Mike

    このトピックへの返信は締め切られました。
    解決に役立った回答 Jon Fritz

    It's because you are missing a closing double quote at the end of all of your nav-link classes.

    Oops, the spaces threw me off.

    Fix the spacing of your double quotes. Some are butting up to the href, others are spaced away from the href but have a space after the class.

    返信数 4

    Nancy OShea
    Community Expert
    Community Expert
    April 5, 2017

    Change <a class="nav-link "

    to <a class="nav-link"  (no space).

    Nancy O'Shea— Product User & Community Expert
    Legend
    April 5, 2017

    You'll probably find the validator is trying to tell you that you should have a space " href:

    " href="dashboard-groups.html">

    Jon Fritz
    Community Expert
    Jon FritzCommunity Expert解決!
    Community Expert
    April 5, 2017

    It's because you are missing a closing double quote at the end of all of your nav-link classes.

    Oops, the spaces threw me off.

    Fix the spacing of your double quotes. Some are butting up to the href, others are spaced away from the href but have a space after the class.

    pziecina
    Legend
    April 5, 2017

    Ignore it.

    I personally turn off linting, and just use the w3c validator once I have finished the page.

    mf69995327作成者
    Participating Frequently
    April 5, 2017

    Thanks, pziecina!  Didn't know about that validation feature and when I ran that, it pointed me to the issue which was the lack of a space after class="..."

      Good to know!