I saw this multiple times (but not all of the time), but sometimes when a LLM write quotes or apostrophes inside code blocs, it throw us the HTML encoded version.
https://kagi.com/assistant/41a02973-07d8-49ab-948b-5d0760aeb191 :

Instead of this code bloc :
(1234567.89).toLocaleString('en-US');
// Output: "1,234,567.89"
it should return :
(1234567.89).toLocaleString('en-US');
// Output: "1,234,567.89"