Jared Peter
Jared Peter

Reputation: 367

Ace editor 'named entity expected got none' error

I was using ace editor to write some code, but when wrote & in a URL the editor gave me this error: named entity expected got none. I tried everything I knew about: changing & to &, & to %26, but nothing worked. Here's what I wrote:

<link href="https://fonts.googleapis.com/css2?family=Xanh+Mono&display=swap" rel="stylesheet">

Does anybody know what to do?

Upvotes: 17

Views: 32737

Answers (4)

changing & to %26 is my best way, worked for me.

Upvotes: 0

Subadevan C
Subadevan C

Reputation: 1

replace all of & symbol to &amp;

it has many sol but idk do it. it can

Upvotes: -2

Kool and the Gang
Kool and the Gang

Reputation: 1

Try "& # 43 ;" or "& plus ;" in place of the "+" sign.

Upvotes: 0

Kinga Stępień
Kinga Stępień

Reputation: 341

replace each & character with this &amp;

Upvotes: 32

Related Questions