Compile classes

Will class names at some point be respected in the HTML compile? Last version (14) it didn’t use them, and in 15 it’s gone back to the version 1 way of doing it (p1, p2, scr1, etc). A workaround is to compile to docx and then save filtered html in Word, but that’s an extra step and the docx compile is incredibly slow.

The reason I want consistent class names is to be able to use the same css stylesheet.

Here’s what the HTML compile produces:

<h1 class="scr1"><a id="doc1"></a><span class="s1">1</span></h1>
<p class="p2"><span class="s2">Lorem ipsum dolor sit amet</span></p>
<p class="p3"><span class="s2">– Lorem</span></p>
<p class="p4">Lorem ipsum dolor sit amet, <em><span class="s3">consectetur</span></em> adipiscing elit</p>
<p class="p5">Lorem ipsum dolor sit amet, sed do eiusmod tempor incididunt</p>

And here’s DOCX compile, saved as html in Word:



Lorem ipsum dolor sit amet

– Lorem

Lorem ipsum dolor sit amet, consectetur adipiscing elit

Lorem ipsum dolor sit amet, sed do eiusmod tempor incididunt