View Single Post
Old 06-23-2022, 06:23 PM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,803
Karma: 6000000
Join Date: Nov 2009
Device: many
That is not valid xhtml so yes, Preview will tell you that.

Try this instead:

Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
  <title></title>
</head>

<body>
  <pre>
0: (SWANK::DEBUG-IN-EMACS # &lt; UNDEFINED-FUNCTION @ #x716b082a&gt;)</pre>
</body>
</html>

Notice the "<" followed by an ">" both of which which is not allowed in xhtml. They must be xml encoded to "&lt;" and "&gt;" respectively.

Preview is showing you where the Chrome based browser is saying the xhtml is invalid.

Last edited by KevinH; 06-23-2022 at 07:19 PM.
KevinH is offline   Reply With Quote