-
DescriptionI used html-validate, a HTML5 validator, on a Quarto blog, and got errors. I wonder whether some of those should be fixed on the Quarto side, or whether I should ignore them / tweak settings. For the default Quarto blog (created via the RStudio IDE menu) I see
Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Related: #3831 |
Beta Was this translation helpful? Give feedback.
-
I get more errors if I use different dark/light theme (I get it can be viewed as a false positive as in practice only one of the two elements with the same ID will be used 😅)
|
Beta Was this translation helpful? Give feedback.
-
I'm not sure this validator is very good: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Defaults matter, especially when different people report bugs with different default opinions coming from different validators.
There's an official w3c validator. I'm reluctant to say "Quarto will always produce perfectly valid HTML under the validators", but we do make an effort not to emit broken HTML according to that one, and we consider it a bug to not be able to parse tables that it validates correctly.