Sublime Forum

The character '&' in urls of a html file is marked incorrect

#1

the character ‘&’ in urls of a html file is marked incorrect, see the image below:
Imgur

Image is here: http://imgur.com/uYaLhnF

I don’t know how to search this problem in google, so I post it here.

0 Likes

#2

You should use HTML entities even for ampersands inside attributes, meaning you should replace your & with &

Otherwise, the ampersands can be considered ambiguous: w3.org/html/wg/drafts/html/m … -ampersand

0 Likes