Pavel, I think you introduced this in connection with
InsetHyperlink::viewTarget(). But it seems wrong to me. There's no
particular reason to think that the URL in that case will actually be of
type HTML, or that the viewer defined for HTML will be able to handle
it. I mean, it might be that the viewer is firefox and the url is
http://whatever.com/file.pdf, in which case you'll ultimately get the
right result. But the viewer might be something else and the url might
be anything. Right?
This came up as I was looking at some of John's code to try to view urls
associated with citations. Similar problem.
Richard
- Formats::viewURL() Richard Heck
-