View Single Post
Old 09-07-2021, 01:04 AM   #21
xversion1
Enthusiast
xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.xversion1 ought to be getting tired of karma fortunes by now.
 
Posts: 46
Karma: 4245188
Join Date: Nov 2019
Device: Kindle
There's another strange problem. After I did what Frenzie said, which is this:
Quote:
Find:
Code:
Quote:
<p id="([a-z0-9]*)"( class="footnotes?"><a href="[a-z0-9]*\.html#[a-z0-9]*" id="([a-z0-9]*)")
Replace:
Code:
Quote:
<p \3\2
Mode: regex
All text files
There were other notes that didn't affect as I said above. So I did this to the Frenzie's code (as I said):
Quote:
Edit: I found the reason. The <a... of this chapter goes like this:
Quote:
<a href="part0012_split_000.html#mah0003088"
They have a special character "_" so "a-z0-9" doesn't include it. I just add "_" (like this "a-z0-9_"). I know I just got lucky that it happens to be right. Could you please show me how to get all characters in the search so next time I won't miss anything?
When I copy the book into Koreader via wifi, the first time I open it everything seems fine, the notes appear well. But if I go back to Folder and re-open it, from that point the book's format broken, text-align changes, table content gone, notes don't show, etc.
This is a strange behavior (first open OK, second open everything broken). I tested several times to make sure it's not something happens when the book being sent. I don't hope to fix this one. I think it's not easy as the original problem. I just think I should inform it just in case.
Here's the book: https://www.mediafire.com/file/hltg9...ange.epub/file

Last edited by xversion1; 09-07-2021 at 01:07 AM.
xversion1 is offline   Reply With Quote