@Ronis_BR I think @JoshuaLampert’s suggestion with styled strings is more general. It works for all backends. My PR is almost there, I am just having trouble to compare HTML output with special escape characters (colors):
Off-topic: do you know how to properly escape these color characters in sprint tests? The last test in the PR above is failing with a parsing error:
<th style = "text-align: center; font-weight: bold;">\e[35m\e[1ma\e[39m\e[22m</th>