View Single Post
Old 03-20-2022, 10:22 PM   #24
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by jackie_w View Post
@Doitsu is correct - epubcheck v4.2.6 gives an error (actually 2 errors) if a <blockquote> tag in an EPUB2 contains text, but no error, for the same markup, if it's in an EPUB3.
If working on a book with lots of blockquotes that just have text, no child tags, and want epubcheck to stop whining about them, you can define.

div.blockquote {margin:1em;}

Then S&R <blockquote> to <div class="blockquote"> and </blockquote> to </div>
Add other formatting (font-size, text-align, text-indent) to the def to taste.
Div will work equally with raw text or child tags.

Often blockquote tags are used not for actual quotes, but as a way to add margins to e.g. a dedication. Bad form generally, but it will work even if CSS is ignored.
AlanHK is offline   Reply With Quote