Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-22-2011, 11:46 AM   #1
ayjay3
A new Sigil user
ayjay3 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Feb 2011
Device: Kindle paper white
Search and replace - carriage return

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?
ayjay3 is offline   Reply With Quote
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: 29,795
Karma: 54830978
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
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Search and replace TdeV Sigil 1 10-30-2011 04:45 PM
Increase search and replace? user_none Conversion 24 04-08-2011 03:59 PM
search and replace - drops blanks in replace ? cybmole Conversion 10 03-13-2011 03:07 AM
Search and replace in 0.2.0 paulpeer Sigil 7 03-13-2010 11:59 AM
Why no search and replace? charleski Sigil 10 11-24-2009 04:13 PM


All times are GMT -4. The time now is 03:05 PM.


MobileRead.com is a privately owned, operated and funded community.