I posted on the Technical Support (Mac) forum side about this but there’s been no answer. I’ll report the behaviour as a bug because to me it certainly seems so. Here’s step by step instructions on how to produce what I’m seeing:
- Apply formatting on a line of text (including paragraph break) by choosing Formatting > Apply Preset > Heading
- Compile the document for Web Page (.html)
- View the HTML file in an editor like Textwrangler: the formatting is there,
tags in this case as expected.
- Go back to Scrivener
- Save the project
- Quit Scrivener
- Open Scrivener and the saved project again
- See that visibly in the editor the formatting has been preserved
- Compile the document for Web Page (.html)
- View the HTML file in an editor like Textwrangler: the formatting is not there, the intended header is inside
tags only.
I can repeat this again and again and with different formatting, sub-heading for example. Between the two compiles no changes have been made to any settings.
Scrivener or OS X won’t report any error and Scrivener doesn’t crash. In the Console the only message concerning Scrivener is “Invalid Color System, labelColor”.
I have Scrivener version 2.6 (25480) and Mac OS X 10.9.5.