Fix an issue with code tag closing