Removes extra markup