Changeset 855d0c9


Ignore:
Timestamp:
01/14/2024 09:27:37 PM (4 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
12.1, 12.1-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
0432a3a
Parents:
ec18a38
Message:

Remove an invalid attribute in longindex.html

For some reason, the stylesheets generate a
<div xmlns:xlink="http://www.w3.org/1999/xlink" ...> element in
longindex.html, but this is not valid in xhtml (the attribute
xmlns=xlink is not defined in the DTD). The problem is that tidy then
thinks it is not a true xhtml and removes the doctype declaration.
But when a browser receives a file without doctype declaration, it
thinks it uses an old standard, and switches to "quirks mode"
(for firefox, this can be seen by typing ctrl-I on the page).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rec18a38 r855d0c9  
    4949        $(Q)cp stylesheets/lfs-xsl/*.css $(BASEDIR)/stylesheets
    5050        $(Q)sed -i 's|../stylesheet|stylesheet|' $(BASEDIR)/index.html
     51        $(Q)sed -i 's/xmlns:xlink.*xlink"//' $(BASEDIR)/longindex.html
    5152
    5253        $(Q)mkdir -p $(BASEDIR)/images
Note: See TracChangeset for help on using the changeset viewer.