[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] lynx beta bug in displaying xhtml5 pages
From: |
Viatrix |
Subject: |
Re: [Lynx-dev] lynx beta bug in displaying xhtml5 pages |
Date: |
Fri, 21 Feb 2025 09:48:16 -0800 |
On 2025-02-21T17:22+02, Shlomi Fish <shlomif@gmail.com> wrote:
> Summary: I "fix"ed part of my site and converted "/>" to " />" and it
> is still broken
> in lynx. Moreover, firefox and chromium (and other browsers) handled
> the pages there fine (and still do).
Hi there,
I'm not using the Lynx Beta but it sounds like the problem is Lynxβ is
interpreting the XHTML file using the HTML parsing rules. This can also
be seen in popular browsers by viewing a copy of your webpage with the
extension changed to .html. The problem being the self-closing
<script/> tag appears to have been mentioned in your pull request.
I am not following the Lynx Beta, but I do think this indicates
insufficient support of XHTML in its code — they have entirely separate
parsing rules.
I do have here a document which gives full guidelines for making a
document both valid XHTML and HTML —
<https://wiki.whatwg.org/wiki/HTML_vs._XHTML#Syntax_and_Parsing>
but I imagine there could be many other webmasters who don't follow it
thus serving pages which would render incorrectly in Lynxβ.