Problem
When used underline on color span decorated text like so: <u><span style="color:rgb(255, 0, 0)">example text</span></u>
the output looks like:

Instead, apply text-decoration: underline attribute for span like so: <span style="color:rgb(255, 0, 0);text-decoration: underline">example text</span>

Notice the underline has same color as span text color, which is better looking.
Consider
This behavior could be toggled in plugin's settings
Multi span regions
When selection contains span regions, the plugin should then split underline sections.
for this line:
Lorem ipsum dolor <span style="color:rgb(255, 0, 0)">sit amet</span>, consectetur adipiscing elit. Curabitur eget dolor

Should be split like so after underline command:
<u>Lorem ipsum dolor </u><span style="color:rgb(255, 0, 0);text-decoration: underline">sit amet</span><u>, consectetur adipiscing elit. Curabitur eget dolor</u>

Problem
When used underline on color span decorated text like so:
<u><span style="color:rgb(255, 0, 0)">example text</span></u>the output looks like:
Instead, apply
text-decoration: underlineattribute for span like so:<span style="color:rgb(255, 0, 0);text-decoration: underline">example text</span>Notice the underline has same color as span text color, which is better looking.
Consider
This behavior could be toggled in plugin's settings
Multi span regions
When selection contains span regions, the plugin should then split underline sections.
for this line:
Lorem ipsum dolor <span style="color:rgb(255, 0, 0)">sit amet</span>, consectetur adipiscing elit. Curabitur eget dolorShould be split like so after underline command:
<u>Lorem ipsum dolor </u><span style="color:rgb(255, 0, 0);text-decoration: underline">sit amet</span><u>, consectetur adipiscing elit. Curabitur eget dolor</u>