Fixes formatting and used proper html for mdash