Open tcitworld opened 10 years ago
Okay, here's what I've edited (and seems not so bad) :
$fileName = $this->sanitizeFileName($fileName);
after line 345 for getting a properly ouput for each of my chapters.What I got :
All spaces are converted into dashes -
and my special character is gone, so I've got something like some-text-some-text.html
.
Oh, and I've just realised I've got another example : I've got a chapter named some/text
and before my modification it created a folder named some with a text.html file. Now I just a sometext.html file.
So it's not perfect, but at least it's working for me. Any ideas ?
Any news ?
Let's say I want to create an ebook with the title containing a |, like « some text | some text », and a chapter with the same name. The table of contents is linking to my chapter as
some text | some text.html
, but the html file created (corresponding to the chapter) is namedsome text _ some text.html
. So I can't access my first chapter.I'm currently putting PHPePub into wallabag, and without this issue, it works great.