@storyteller-platform/epub 0.4.5 → 0.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -1
- package/dist/index.js +3 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1569,7 +1569,9 @@ ${JSON.stringify(element, null, 2)}`
|
|
|
1569
1569
|
async createXhtmlDocument(body, head, language) {
|
|
1570
1570
|
const lang = language ?? await this.getLanguage();
|
|
1571
1571
|
return [
|
|
1572
|
-
Epub.createXmlElement("?xml", { version: "1.0", encoding: "UTF-8" }
|
|
1572
|
+
Epub.createXmlElement("?xml", { version: "1.0", encoding: "UTF-8" }, [
|
|
1573
|
+
{ "#text": "" }
|
|
1574
|
+
]),
|
|
1573
1575
|
Epub.createXmlElement(
|
|
1574
1576
|
"html",
|
|
1575
1577
|
{
|
package/dist/index.js
CHANGED
|
@@ -1536,7 +1536,9 @@ ${JSON.stringify(element, null, 2)}`
|
|
|
1536
1536
|
async createXhtmlDocument(body, head, language) {
|
|
1537
1537
|
const lang = language ?? await this.getLanguage();
|
|
1538
1538
|
return [
|
|
1539
|
-
Epub.createXmlElement("?xml", { version: "1.0", encoding: "UTF-8" }
|
|
1539
|
+
Epub.createXmlElement("?xml", { version: "1.0", encoding: "UTF-8" }, [
|
|
1540
|
+
{ "#text": "" }
|
|
1541
|
+
]),
|
|
1540
1542
|
Epub.createXmlElement(
|
|
1541
1543
|
"html",
|
|
1542
1544
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storyteller-platform/epub",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@storyteller-platform/path": "^0.1.1",
|
|
51
51
|
"@zip.js/zip.js": "^2.0.0",
|
|
52
52
|
"async-mutex": "^0.5.0",
|
|
53
|
-
"fast-xml-parser": "^4.0.
|
|
53
|
+
"fast-xml-parser": "^4.0.1",
|
|
54
54
|
"mem": "^8.0.0",
|
|
55
55
|
"mime-types": "^3.0.1",
|
|
56
56
|
"nanoid": "^5.1.5",
|