Hi
I just produced an EPUB3. The xhtml files began this way:
Code:
<!DOCTYPE html>
<html lang="fr-FR" xml:lang="fr-FR" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Title</title>
<meta charset="UTF-8" />
<link href="styles/styles.css" rel="stylesheet" type="text/css" />
</head>
The files validate with Epubcheck as EPUB3.
Once "beautified" with the Calibre editor, it looks this way:
Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr-FR" xml:lang="fr-FR">
<head>
<title>Title</title>
<link href="styles/styles.css" rel="stylesheet" type="text/css"/>
</head>
This second file validates also with Epubcheck as EPUB3.
Both files agree on utf8.
However, I would have rather, for EPUB3 files, let this part untouched, as it looks correct (even if the second one is correct too).
Would it be possible to make the above change optional for
EPUB3 files?