Removing italicized tab at start of paragraph drops one <em> tag
For Bakker Chapter 1:
There is an italicized tab that starts one of the paragraphs in this chapter. The tab gets removed in the very last Editoria reduce step, but the opening <em>
tag also gets dropped, leaving only one self-closing <em/>
. This tag causes an error in Wax and thus the chapter cannot be opened to reading and editing.
Here's what the HTML looks like after the Editoria notes step:
<p class="Default" style="font-family: Helvetica; font-size: 12pt">
<i>
<span class="tab"><!-- tab --></span>
</i>
This historical documentary material...
Then, during the Editoria basic step, the <i>
tags get converted into <em>
s:
<p class="Default" style="font-family: Helvetica; font-size: 12pt">
<em>
<span class="tab"><!-- tab --></span>
</em>
This historical documentary material...
Finally, in the Editoria reduce step, the tab removed, leaving only a <em/>
in its place:
<p><em/>This historical documentary material...
So, when the Editoria reduce step removes tabs at the beginning of paragraphs, it needs to also remove both formatting tags if there are any.