fix formatting inside HTML blocks

formatting does not work inside HTML blocks