show formatted duty expression

and mark it as html safe as it may contain `abbr` tags
Merge pull request #136 from bitzesty/measurement-unit-abbreviation

show formatted duty expression