View Single Post
Old 03-10-2013, 01:30 PM   #36
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by mrmikel View Post
The most recent S/R changes seem to have eliminated picking up the companion </a> if you do a simple search and replace with nothing.

I have been experimenting with searching for the whole thing, </a> included, but have not yet been entirely successful. I end up having to do multiple searches for what seem to me to be the exact same thing. This is no doubt a reflection of my regex ignorance more than anything.
Yes, the replace is no longer preceded or followed by a clean automatically - you search on exactly what you see and are left with exactly what you replaced. You can save to automatically clean - if you set the option to clean on save - or just right-click in code view and select reformat HTML.

You should use a regex that includes the trailing tag and remove it. I'm sure you can get a few tips here.

I've been thinking about a search replace that is more tag/class focussed as an extra, but not anytime soon if at all.
meme is offline   Reply With Quote