Rainie3535 / sigil

Automatically exported from code.google.com/p/sigil
GNU General Public License v3.0
0 stars 0 forks source link

Find Replace ignored if replacing code #1270

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please read http://code.google.com/p/sigil/wiki/ReportingIssues for
information about submitting a good bug report.

What steps will reproduce the problem?
1. I am trying to remove tags such as 

<strong> 
   <br clear="ALL" /> 

</strong>
2. The code is not nested in <p> </p> tags and even with the HTML tidy and 
search for well-formed errors on, it does not correct it.

3. I Try to replace the incorrect string with nothing and SIGIL ignores the 
request

If the code is like this on the page then it does not find or replace, and 
SIGIL won't reorganize the code.

<strong>
     <br clear="ALL"/>
</strong>

When I split the pages then SIGIL puts it on one line, that I can delete.

<strong><br clear="ALL" /></strong>

the issue is that I receive copy from clients and they have pagebreaks in their 
copy.  The pagebreaks come in with this clear all -- which I need to remove.

this may be just a weird anomaly - but thot I would let you know -- have 
several clients that have stated this is an issue with their version as well 
(Windows and Mac)

...

What is the expected output? What do you see instead?

i expect it to replace the code I have highlighted with my replace request.

What version of the product are you using? On what operating system?

Sigil 5.2

Mac OS 7 Lion

Please provide any additional information below. If your source file
(SGF/EPUB/HTML/etc) is required to fully understand the problem, please
attach it to this issue. Read the ReportingIssues wiki page before
submitting!

Original issue reported on code.google.com by unrulygu...@gmail.com on 16 Feb 2012 at 10:35

GoogleCodeExporter commented 9 years ago
Additionally, if it says -- fix manually, it won't let me get to the page to 
fix it. So I have to select automatic, which isn't what I want to do.

Original comment by unrulygu...@gmail.com on 16 Feb 2012 at 10:56

GoogleCodeExporter commented 9 years ago
This isn't a bug - you can ask for help at the MobileRead forum.

Try using \s for the spaces between tags, or if using Regex .* use Regex DotAll 
mode.

If you still think its a real issue, attach a small example file and your exact 
search string.

Original comment by meme90...@gmail.com on 16 Feb 2012 at 11:23