Quote:
Originally Posted by jackie_w
On the few epubs I've tested to remove the inline @font-faces, they are correctly removed but a blank line remains.
|
That was sort of intentional - as a cop-out to making sure I made the least intrusive change to the epub possible. Right now my regex for doing the replacement ends at the closing brace }. i.e.
I guess the question for the regex gurus is what would be a "safe" addition to that, given the permutations of how styles might be laid out in the original file. Can I get away with this for instance?
Code:
@font\-face[^}]+?}\s+
Quote:
Originally Posted by jackie_w
After modifying an epub, the calibre last_modified date column does not change. Is this deliberate? It may have always worked like this but I never noticed before.
|
There should be nothing new about that behaviour from previous versions. I'll see if I can figure out what it is supposed to do to get that field updated.