don't do anything if add_anchor fails

invalid content shouldn't necessarily kill nbconvert