Quote:
Originally Posted by DaleDe
Generally this is the case. Sometimes a tab character is used to start the paragraph but the idea is the same. Leading space marks a paragraph boundary rather than a blank line.
Dale
|
Could one then:
1. Replace all instances of "\n " (linebreak + 4 spaces) or "\n\t" (linebreak and tab) with "|" (pipe character).
2. Replace all instances of "\n" (linbreak) with "" (i.e.: nothing).
3. Replace all instances of "|" (pipe character) with "\n\n" (2 linebreaks).
The specifics of how to do this I cannot offer to explain, but perhaps others might... assuming my line of thinking makes sense.
- Ahi