Absolute and Relative Paths in MSHTML
After reading of issues that MSHTML (or the DEC, the DHTML Editing Component) has with setting all paths to absolute, I felt I should divulge my solution: set the baseurl of the editor.
If using the DEC, where
editor is the id of the object try the following:
editor.BaseURL = "http://www.example.com/";
In doing so, any calls to an
href should now omit the base URL.