Yes. The prettify function is not infallible. If there's a lot of nested html inside a pre section, there's bound to be some line-break alteration. It's probably best not to prettify in those rare situations. The use of pre tags in epubs should be pretty judicious to begin with. It's too easy to create scenarios where content can overflow screen boundaries if not very careful.
|