|
|
#1 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2012
Device: Kindle Keyboard
|
7.1 big in search n replace cleanup.
<h2 class="calibre10" id="calibre_pb_21"><span class="calibre6 bold"><a class="calibre21" href="../Text/html_split_004#filepos3071"><span class="bold">Seven</span></a></span></h2> if I searched on <a class="calibre21" href="../Text/html_split_004#filepos[0-9]+"> part and replaced it with blank (to remove it altogether), if the S&R was set to regex and all HTML files the trailing </a> has always been removed in all the files. In 7.1 it is left in and in some cases all HTML after the line being modified is just removed. It looks like the automatic cleanup code is not being run anymore. in the case of all HTML files like it always has been in the past. |
|
|
|
|
|
#2 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,693
Karma: 2485828
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
You were relying on Tidy to fix the error (IMHO a poor practice. You take your chances Tidy will make the correct choice).
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,384
Karma: 848775
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
What you're seeing is by design. Sigil shouldn't be randomly changing markup behind your back. If you want to replicate the old behavior after doing the F&R, right click in CV and use the reformat HTML options.
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Search and Replace | SOThunder | Conversion | 2 | 04-29-2012 08:29 AM |
| Search and replace | TdeV | Sigil | 1 | 10-30-2011 04:45 PM |
| search and replace - drops blanks in replace ? | cybmole | Conversion | 10 | 03-13-2011 03:07 AM |
| Search and replace in 0.2.0 | paulpeer | Sigil | 7 | 03-13-2010 11:59 AM |
| Why no search and replace? | charleski | Sigil | 10 | 11-24-2009 04:13 PM |