View Single Post
Old 12-01-2024, 12:15 AM   #1
MAH
Junior Member
MAH began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2024
Device: iPad Pro 13 (M4)
Question Search and Replace bug <p></p> to </h4>

kovidgoyal called this bug report invalid and suggested I try here. So, here it is:

Bug description:

calibre version 7.22.0

macOS 13.7.1 (22H221)

Intel iMac 3.6 GHz 10-Core Intel Core i9


Certain search strings won’t show correct results over multiple files. The specific failure I am having today is searching for "<p></p>" to be replaced with "</h4>". I have 40 chapters for my book, and every chapter had the <p></p> needing to be replaced with </h4>. I could search and replace across all files for things like </h4> for </h4>, but the <p></p> for </h4> would only successfully replace on one HTML file at a time. This made me have to open each file in succession in order to accomplish the desired search and replace operation. I have other examples, but I will defer listing them for now. This is an easy string to try the problem with and my other examples have similar results. I used "Normal" and "Regex" as my search and replace mode to see if a different search mode would show different results. For all tries there was no change in returned results.

Help!
MAH is offline   Reply With Quote