-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Some submission have an old-style tag referring to xhtml:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- This can cause errors with the
<audio>tag:
ERROR(RSC-005): /htdocs/ebookmaker/cache/20251106024440/10001-images-epub3.epub/10001/5157771731363747136_catskittens_bad-111.htm.xhtml(51,58): Error while parsing file: text not allowed here; expected the element end-tag
Changing to <html lang="en"> fixes the issue.
- Note that the error refers to ".htm.xhtml", I wonder if ebookmaker is being tricked by the tag to not generate HTML5.
I suggest ignoring the attributes in an HTML5 file.
Example here: https://www.dropbox.com/scl/fi/ph61ataqrn89mumev6ei5/catskittens_epubtest.zip?rlkey=ppwrdv64etsyllnomklnxa70l&st=h0nucti8&dl=0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels