SquadWOD has a pipe that takes a time in milliseconds and formats it in the typical minutes:seconds:milliseconds style. While the milliseconds are important as a tie breaker, they are not that useful for much else and can clutter the display. Rather than simply not show them and have athletes with the same times trust that their leader board position is more accurate than just the seconds displayed to them, I decided to format the milliseconds between small tags. That way the information is there buy clearly deemphasized.
However, if you do the following:
Then the HTML is going to be escaped and displayed to the user.
The simple fix is to bind the output of the pipe to the outerHTML attribute of a span tag instead.
and now the millisecond portion is rendered small.