3

I created an epub framework in InDesign, exported it as a book, then opened it with BBEdit so I could import my html files.

It's working great, except that break tags trigger errors. I got another error message for the entity nbsp. (I'm previewing it with iBooks.)

So I'm trying to figure out what's going on here. Are break tags and white space not allowed in epubs? If so, is there another protocol for inserting breaks and white space?

1 Answer 1

1

Break tags are allowed, but be sure you close the tag as required in XHTML: <br />.

Named entities such as &nbsp; are not allowed in epub3 (thus, iBooks). You can use the numeric value &#160; instead.

2
  • Yikes, I forgot all about the different kinds of break tags!
    – WordBear
    Commented Jan 29, 2017 at 16:55
  • Yes, it's an easy thing to forget when you're converting html to xhtml.
    – beaker
    Commented Jan 29, 2017 at 16:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.