MOBI output shows CSS code

When I compile the following for KF8, using the default format…

Testing KF8 compile…
• with a bullet point

… my PaperWhite and Mac Kindle app both display the result as…

Testing KF8 compile… style =" color: #053300; background-color: #FFFEFE" > • with a bullet point

(I am in fact intentionally using a dark green color for the font.) The scriv file is attached.
KF8 test.scriv.zip (44.6 KB)

You can get it to work in compile by applying a css name and then appending the appropriate css style:

/* Styles */ .green { font-weight: normal; font-style: normal; text-decoration: none; color: #2F9602; }

Also seems to help to remove the background colour in the editor.

Made it bright green in the sample above (and image below). You could substitute your #053300 colour in the css.

Green.jpg

KF8 Green.scriv.zip (57.1 KB)

This should be fixed for 3.0.2.

Thanks and all the best,
Keith

Thanks Bridey, and thanks Keith for fixing it in the next release!

I’m also seeing an error in ePub output when it comes to my bullet points. It seems likely it’s the same root issue, so I’m posting here so Keith can be aware.

A sample iBooks error message is:

“This page contains the following errors:

error on line 13 at column 83: Opening and ending tag mismatch: p line 0 and span
Below is a rendering of the page up to the first error.”

(I can provide more detail if needed.)

I have the same issue on several pages when compiling to Epub format. I started completely over downloading the entire book. Several chapters work without the error, but it shows up in the beginning of other chapters.

I’m confirming this is fixed in 3.0.2. Yay!

Thanks Keith.

Great, thanks for confirming!
All the best,
Keith