show formatted duty expression

and mark it as html safe as it may contain `abbr` tags