![]() |
#31 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,394
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Earlier I mentioned that I was worried that:
Code:
</?a ?([^>]+)?> So for the paranoid/pedantic type (like myself), it's probably best to use: Code:
</?a\b([^>]+)?> The \b just matches a "word" boundary so that no other tags that start with 'a' will be caught up in the match. |
![]() |
![]() |
![]() |
#32 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Id never heard of <aside> i had to google it. it doesnt seem like anything I'd ever expect to encounter in an epub though - would ADE even have a clue what to do with it?
So I think I'll just go on happily nuking everything beginning with <a ! I have an HTML5 cuick guide on my tablet so lets see what else there is in its index for a: acronym - though its says that is now unsupported address article - new for html 5 |
![]() |
![]() |
Advert | |
|
![]() |
#33 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,394
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Fair enough. As I said; my change is more of a "stickler for details" thing.
![]() But if you're cleaning up the cruft from retail epubs, you're going to start running into the <aside> tag sooner rather than later. Both Kobo and B&N (and even Kindle) books are exhibiting more and more html5/epub3 features. Deleting the <aside></aside> tags and leaving their contents intact could make for some very confusing reading (footnotes and other ancillary details stuffed into the middle of sentences and the like). Last edited by DiapDealer; 08-10-2014 at 10:22 AM. |
![]() |
![]() |
![]() |
#34 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,914
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
(<body.*>)\s* and \s+</body> including putting those back in the replace I do frequent saves, NOT auto fix, and I stop and repair before getting a deep pile. ![]() A tool that could count the additional inner Opening BQ tags and only remove the close after counting back down) |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
What does the filepos parameter do in an href? | lunixer | ePub | 6 | 03-16-2017 10:56 AM |
Regex Solution to hidden href search? | MizSuz | Sigil | 16 | 09-29-2012 07:40 PM |
Why is a href needed in the manifest to validate? | wannabee | ePub | 3 | 01-24-2012 11:40 PM |
a href links working/not working | mimosawind | ePub | 5 | 12-09-2011 12:42 PM |
RFE: Remove remove tags in bulk edit | magphil | Calibre | 0 | 08-11-2009 10:37 AM |