XRENDERING-286: Bullet point lists with colored EOL get badly formatted
(cherry picked from commit 143091570dca487c74f232898097e26fe08b57ca)