I guess we could build a do_not_update_me map of all broken links and pass it along the universal updates code. We could then have it check each link against that list before trying to update it. That would mean touching and fixing the universal updates code for every resource type.
If this only matters for AddExisting html or ImportHTML, we might be able to change the link in the html code to be effectively external. We could for example change a broken link such as:
../Styles/sheet1.css
to
fixme://../Styles/sheet1.css
so that it would go untouched by the universal updates code. We could leave it like that, so that the user could easily find any broken links with a simple search, or parse the xhtml file with gumbo and strip the fixme: somehow.
Thoughts?
|