Simplify message markup by rendering badge svg as background image