Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xhtml pages broken #156

Open
cweiske opened this issue Sep 18, 2017 · 0 comments
Open

xhtml pages broken #156

cweiske opened this issue Sep 18, 2017 · 0 comments

Comments

@cweiske
Copy link

cweiske commented Sep 18, 2017

My blog serves pages with the application/xhtml+xml MIME type, which means browsers use
the XML parsing mode and do not try to render anything if the XML is not well-formed.

The internet archive software sends out this header for my page, too - but it adds HTML to the top of the page which is not well-formed according to the XML rules.

For example: https://web.archive.org/web/20170606065241/http://cweiske.de/tagebuch/cacert-bye.htm

Firefox 55 and Chromium 60 both stop rendering and show an error:

Chromium:

This page contains the following errors:
error on line 141 at column 43: Opening and ending tag mismatch:
br line 0 and div

Firefox:

XML processing error: Non matching tag. Expected:
.
Adress:
https://web.archive.org/web/20170606065241/http://cweiske.de/tagebuch/cacert-bye.htm
Line 141, Column 39:
Web wide crawl number 16<div><br></div><div>The seed list for
Wide00016 was made from the join of the top 1 million domains from
CISCO and the top 1 million domains from
Alexa.</div><div><br><div><br></div><div><br></div></div>
---------------------------------------------^

One way to fix that bug would be to make your embed code XHTML-compatible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant