Try Find/Change Text: Find ^p^p/Change to ^p
Replace by nothing
No, both these methods cause the next legitimate text to change paragraph style.
I should say that ^p^p changed to ^p leaves one empty return; but I want 0 empty returns.
When I tested ^p^p to ^p the next paragraph style is kept. For three empty returns just use ^p^p^p to ^p.
Yes, Ellis's Find/Change needs several clicks to finalize the treatment! Try mine! Replace all: 1 click!
Hi Ellis home,
Here, Grep is unavoidable if you want to make it cool!
Oh, I dunno. I strip them out (and nodes that I don't need) in the XML. Makes for a clean import that way.
Searching on multiple ^p^p a couple times hitting replace all usually does it for me in other types of text I import. But with the XML tags (and merge tags for that matter) I have seen the paragraph following empty lines, that once the empty lines were removed, the next tagged paragraph has inherited the blank paragraph's style. which is why I usually strip out spurious stuff from the XML.
Doesn't help at all when there are empty nodes, which also can leave a seemingly blank line. I would have to fire up ID and simply import some XML straight into ID to check how I dealt with it in the seemingly distant past. Which won't be for a while today. Likely tonight.
Yep, it works. I suspected our suggestions didn't work for @Michael due to XML. @MW Design just confirmed that.
I don't they the other guys understand the style problem...
Try (\r+)(\r) and replace with $2.
But my memory is there's a slicker way to do this using the end of paragraph marker that Peter Kahrel or Jongware once posted.
It seems that the presence of XML tags is fouling it all up, but I don't really know why. Hmmm. I am learning something new today!
I got this to work once I hosed down all the XML tags:
I saved this query: “Remove Empty Hard Returns that might have spaces”
Find What: (?<!.)(\s?\r)
Change to: nothing
This did not mess up the paragraph styles on paragraphs following the empty returns.