No Quotation marks in some of the Meta tags?! #87
Replies: 3 comments 1 reply
-
Could you link to a file for example? |
Beta Was this translation helpful? Give feedback.
-
Hello @gangajamuna I just realized that. I don't know if it will be correct that way or it will be an Astro error. I'll investigate.
<!DOCTYPE html><html class=2xl:text-[20px] dir=ltr lang=en><head><meta charset=UTF-8><meta content="width=device-width,initial-scale=1" name=viewport> ... |
Beta Was this translation helpful? Give feedback.
-
Hi @gangajamuna I already found the problem, and it's really not a problem. It is considered that in HTML there are some attribute / value combinations in which quotes can be removed. For that reason the https://github.com/terser/html-minifier-terser#options-quick-reference However, it is preferable and recommended that quotes are always used, besides that aesthetically it looks weird. For that reason I changed the Thank you for detecting this detail. |
Beta Was this translation helpful? Give feedback.
-
Hi it came to my attention that many of the meta tags have no quotation marks in the template. For example
<meta charset=UTF-8>
Shouldn't it be
<meta charset="UTF-8">
?Thx
Beta Was this translation helpful? Give feedback.
All reactions