Skip to content

Commit 9419e18

Browse files
committed
bug fix
怎么还有书在spine里加注释的
1 parent 7a91bc8 commit 9419e18

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/EpubBuilder.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ void CreateOPF()
316316

317317
foreach (XmlNode itemref in azw3.resc.spine.FirstChild.ChildNodes)
318318
{
319+
if(itemref.NodeType!=XmlNodeType.Element)continue;
319320
itemref.Attributes.RemoveNamedItem("skelid");
320321
string idref = itemref.Attributes.GetNamedItem("idref").Value;
321322
XmlElement item = manifest.CreateElement("item");

src/version.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
namespace UnpackKindleS
22
{
3-
public class Version{public static string version="20191030";}
3+
public class Version{public static string version="20191123";}
44
}

0 commit comments

Comments
 (0)