|01-31-2013, 03:51 PM||#1|
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>
|01-31-2013, 04:02 PM||#2|
Color me gone
Join Date: Apr 2008
Location: Central Oregon Coast
You could just paste it into book view, if you still have the source.
|01-31-2013, 04:19 PM||#3|
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
seems like this would work if you really want to use regex:
find: (?s)(?<=</p>)(\s+?\b.*?)(<p>) replace: <p>\1</p>\2
Last edited by mzmm; 01-31-2013 at 04:22 PM.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|No character data is allowed by content model||MrB||Sigil||16||09-20-2012 04:10 PM|
|ePub validation error: 'element "span" not allowed here'||nannygoats||ePub||5||11-30-2011 09:47 AM|
|epubcheck: attribute "page-map" not allowed here error message||Doitsu||ePub||5||10-27-2011 09:51 PM|
|No data in "In Library" and "On Device" columns after upgrade||ily426||Library Management||8||04-03-2011 03:53 PM|
|Help solve security "hold" on most covers..||carpetmojo||General Discussions||0||03-21-2011 07:36 AM|