01-31-2013, 02:51 PM | #1 |
Member
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> |
01-31-2013, 03:02 PM | #2 |
Color me gone
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.
|
Advert | |
|
01-31-2013, 03:19 PM | #3 |
Groupie
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. |
Thread Tools | Search this Thread |
|
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 |