Register Guidelines E-Books Search Today's Posts Mark Forums Read

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: 4
Karma: 10
Join Date: Feb 2011
Device: sony prs650
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
Grand Sorcerer
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: 14,848
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
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
 
Enthusiast
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:22 AM.


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