Some closing tags dropped and blocks of text repeated in the macro text cleanup step
Picking up an issue from an existing ticket (the seastar part of #3 (closed)). Upon further review, it does not appear to have anything to do with the "force punctuation formatting to match preceding word formatting" rule.
This is a widespread issue, and I will post examples below as I encounter them.
In some instances (maybe all, will investigate), the close format tag is dropped, then a certain amount of text gets duplicated until another open format tag, so some text then appears twice. In one of the repeated chunks, sentences are separated by 2 spaces, while in the other chunk, the double spaces have been replaced by single spaces.
I can also confirm that this issue happens in exactly the same way for inline bold, underline, and italic tags.
Example 1
Rinsed html:
<p class="Default" style="font-family: Helvetica; font-size: 12pt; margin-bottom: 6pt">
One of the central promises of change that former Mexican president Vicente Fox made in the run-up to his victorious election in 2000 was that he would govern on behalf of 118 million Mexicans – a number that included both the 100 million people residing within the territorial confines of the Mexican nation-state as well as the 18 million
<i>mexicanos en el exterior</i>
, the imagined community of Mexican migrants and their descendents living abroad. In recognition of their economic contributions to Mexico, and their continued commitment to the nation, Fox often referred to those
<i>mexicanos en el exterior</i>
as heroes. In this, president Fox was part of an expanding chorus of leaders from major migrant-sending states, from Ireland to the Philippines, who have celebrated the heroic contributions of migrants to their homelands over recent decades. For Fox, this heroic imagery took perhaps its grandest form on December 3, 2000, just three days into the presidency. That day Fox held his first public event and opened the official presidential residence, Los Pinos, for a meeting with migrant leaders. In his official address, the newly inaugurated president waxed eloquently about the spirit and tenacity of the migrant, about the set of characteristics that migrants shared with a curious amalgam of historical figures:
</p>
Macro text cleanups applied:
<p class="Default" style="font-family: Helvetica; font-size: 12pt; margin-bottom: 6pt">
One of the central promises of change that former Mexican president Vicente Fox made in the run-up to his victorious election in 2000 was that he would govern on behalf of 118 million Mexicans—a number that included both the 100 million people residing within the territorial confines of the Mexican nation-state as well as the 18 million
<i>mexicanos en el exterior,</i>
the imagined community of Mexican migrants and their descendents living abroad. In recognition of their economic contributions to Mexico, and their continued commitment to the nation, Fox often referred to those
<i>mexicanos en el exterior as heroes. In this, president Fox was part of an expanding chorus of leaders from major migrant-sending states, from Ireland to the Philippines, who have celebrated the heroic contributions of migrants to their homelands over recent decades. For Fox, this heroic imagery took perhaps its grandest form on December 3, 2000, just three days into the presidency. That day Fox held his first public event and opened the official presidential residence, Los Pinos, for a meeting with migrant leaders. In his official address, the newly inaugurated president waxed eloquently about the spirit and tenacity of the migrant, about the set of characteristics that migrants shared with a curious amalgam of historical figures:
</i> as heroes. In this, president Fox was part of an expanding chorus of leaders from major migrant-sending states, from Ireland to the Philippines, who have celebrated the heroic contributions of migrants to their homelands over recent decades. For Fox, this heroic imagery took perhaps its grandest form on December 3, 2000, just three days into the presidency. That day Fox held his first public event and opened the official presidential residence, Los Pinos, for a meeting with migrant leaders. In his official address, the newly inaugurated president waxed eloquently about the spirit and tenacity of the migrant, about the set of characteristics that migrants shared with a curious amalgam of historical figures:
</p>