View Single Post
Old 10-31-2015, 05:19 PM   #695
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
Quote:
Originally Posted by JimmXinu View Post
Code:
## This has a newline right at the beginning:
chapter_start:
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 ...

## This doesn't:
chapter_start:<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 ...
Okay, thanks. I had copied 'output_css:' from default.ini, and it has that newline. Also, the FAQ, where I got the default for chapter_start and titlepage_start, show as I had them. As this causes errors in calibre, shouldn't they be changed to reflect that, or at least have a note that if you customize them, to remove that newline? I didn't notice anything along those lines, although I'll go check again now to be sure. It's entirely possible I missed it!
MerlinMama is offline   Reply With Quote