Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 331
Jared Peter Avatar asked Nov 11 '20 06:11

Jared Peter


1 Answers

replace each & character with this &amp;

like image 175
Kinga Stępień Avatar answered Sep 21 '22 13:09

Kinga Stępień