You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note only the first space is styled with the correct background color and the remaining nine spaces are unstyled. In contrast I believe the right output should instead be:
I'm observing an error with
ansi_html()
when strings with the same styles have been pasted together. An example:Note only the first space is styled with the correct background color and the remaining nine spaces are unstyled. In contrast I believe the right output should instead be:
(note the different placement of the
</span>
). In contrastfansi::sgr_to_html()
seems to correctly preserve a style for all ten spaces:The text was updated successfully, but these errors were encountered: