Ace editor 'named entity expected got none' error

Viewed 18068

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?

3 Answers

replace each & character with this &amp;

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

replace all of & symbol to &amp;

it has many sol but idk do it. it can

Related