Error Message
The error message on Blogger looks as such:
My Case
In my case, that was from a link (stylesheet) href value provided by Google Fonts. By default, they put the &display=swap parameter in the URL — specifically, in the query string.
On a regular HTML page, that should be fine. But on Blogger, it is unacceptable. Blogger employs super regular HTML.
Ah, let's use this font. Splendid.
Please save the template, Blogger. (Hits save button.)
Oi!
Yes?
The reference to entity "display" must end with the ';' delimiter.
What does that mean?
The reference to entity "display" must end with the ';' delimiter.
(Removes the value after "display". Places ';' after "display". Hits save button.)
Oi!
Yes?
The reference to entity "display" must end with the ';' delimiter.
⬆️ The XML parser saw the & symbol and it threw a robotic tantrum because I did not escape it.
My Solution
In short, it's an XML escaping issue. The word "display" just happened to be whatever came after the & (ampersand).
So the solution for this particular case is either:
-
Simply omit the
&display=swap⬇️But that's... quite... silly. 🤔
-
Or, escape the
&with&⬇️⬆️ Now, that is better! 🥳
That is all, I believe. Cheers. 🍺




Comments
Post a Comment