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 01-31-2013, 02:51 PM   #1
boksida
Member
boksida began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jan 2013
Device: bookeen Odyssey HD/android tablets
Multi-solve "no character data is allowed"?

If there is a lot of text that's not enclosed by code, is there a way to search and correct that in bulk?

for instance you have 150 messages:
"No character data is allowed by content model"

Is there a way to search for "unprotected" text and then replace it with something like: <p>*.*</p>
boksida is offline   Reply With Quote
Old 01-31-2013, 03:02 PM   #2
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
You could just paste it into book view, if you still have the source.
mrmikel is offline   Reply With Quote
Advert
Old 01-31-2013, 03:19 PM   #3
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
seems like this would work if you really want to use regex:

Code:
find:

(?s)(?<=</p>)(\s+?\b.*?)(<p>)

replace:

<p>\1</p>\2

Last edited by mzmm; 01-31-2013 at 03:22 PM.
mzmm is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No character data is allowed by content model MrB Sigil 16 09-20-2012 03:10 PM
ePub validation error: 'element "span" not allowed here' nannygoats ePub 5 11-30-2011 08:47 AM
epubcheck: attribute "page-map" not allowed here error message Doitsu ePub 5 10-27-2011 08:51 PM
No data in "In Library" and "On Device" columns after upgrade ily426 Library Management 8 04-03-2011 02:53 PM
Help solve security "hold" on most covers.. carpetmojo General Discussions 0 03-21-2011 06:36 AM


All times are GMT -4. The time now is 09:59 AM.


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