View Single Post
Old 11-22-2011, 02:32 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,079
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by ayjay3 View Post
In search and replace you can do so with normal text. I want to be able to add a carriage return to the 'replace' bit. How do I do that?
CR technically is not a needed part of (x)HTML

Tidy will Pretty up your source on saving
Code:
<p>Paragraph 1</p><p>Paragraph 2</p>
Will tidy to:
Code:
<p>Paragraph 1</p>

<p>Paragraph 2</p>
The only time you would use CR is inside a <pre> tag.
All the other times: use <p>, <div> pairs or a <br />

BTW either example should render the same in the BOOK viewer
theducks is online now   Reply With Quote