On Wed, 23 Mar 2022 at 18:43, Lorenzo Bertini <lorenzobertin...@gmail.com>
wrote:

> Running a very simple LyXHTML doc (a section with a few paragraphs)
> against this validator https://validator.w3.org/check reports some
> errors, I don't really know if we care or not:
>
> 1. value of attribute "dir" cannot be "auto"; must be one of "ltr", "rtl"
> 2. element "section" undefined
>
> Is this a problem? I just wanted to check if I could use the <figure>
> tag but its not part of the specification.
>

What version of HTML are you checking against? There are some glimpses of
HTML5 in the current output. For instance, dir="auto" and section are
perfectly legal in HTML5 (
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir and
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section)
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to