Whenever you try to The character “&” is an ISO HTML reserved character used to denote the start of a parameter. The Blogger editor translate the “&” you enter to the HTML entity, & , that will display “&” when the page or URL is rendered in a browser.
However, in the html code editor in Blogger, the editor does not convert to “&” … and when the HTML editor detects “&” the code is not accepted. There for when a code snippet that you are using includes “&” … you must enter “&” manually (instead of merely “&”).
See also …
https://support.google.com/blogger/thread/27902475/why-does-this-keep-changing-my-ampersand-to-amp?hl=en#:~:text=The%20character%20%22%26%22%20is%20an,is%20rendered%20in%20a%20browser.