Update some syntax and close image tags properly