Re: Error: Stray end tag source.

> On May 2, 2024, at 12:44 PM, golden-puma <golden-puma@yandex.ru> wrote:
> 
>  I generate the site pages via xslt.
> [...]
>  what to do?

I'm guessing you're using xsltproc from libxslt to generate your site? Unfortunately, as far as I can see, xsltproc doesn't support HTML 5+ elements like <source>.

There are other XSLT libraries that will produce correct output -- for example Saxon. Saxon correctly treats <source> as a void element. 

https://github.com/Saxonica/Saxon-HE

Hope that helps - Chuck

Received on Friday, 3 May 2024 22:22:29 UTC