fixed issue with html in card templates