fixes html markdown syntax