View Single Post
Old 12-15-2017, 09:38 AM   #8
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,746
Karma: 24032915
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by doubleshuffle View Post
A related question: It has happened to me once or twice that after a code clean-up there would be some paragraphs of text without any tags around them. Is there an easy, regex-y way of spotting them? In my cases they were always at chapter starts, so weren't hard to find, but there might be other situations.
EpubCheck detects these paragraphs and displays the following message:
Code:
ERROR(RSC-005): Error while parsing file: text not allowed here; expected 
the element end-tag or element "address", "blockquote", "del", "div", "dl",
"h1", "h2", "h3", "h4", "h5", "h6", "hr", "ins", "noscript", "ns:svg", "ol", 
"p", "pre", "script", "table" or "ul" (with xmlns:ns="http://www.w3.org/2000/svg")
FlightCrew also detects them and displays the following message:
Code:
Error schema not satisfied : no character data is allowed by content model 
near column 1
Doitsu is offline   Reply With Quote