restoring markup