The center tag is working in the label but not in a value. Bold and color works in both.

Value in label that works
<font size="4" color="red"><b><center>Transect</center></b></font>
Value in calculation that does not
concat('<font size="5" color="red"><b><center>',${Transect},'</center></b></font>')
Is there a way to center a value? My users keep advancing the wrong repeat.
Thanks