If you apply a custom formatting using html parameter to a dimension, prepare to have some problems when it comes to using them in something else than just a table:
Had to create a duplicated dimension for using in other visualisations than table but I would rather it simply didn't use the HTML formatting option automatically if it's not a table