On Sun, Mar 19, 2017 at 10:25:16PM -0400, Michael Pyne wrote: > On Sun, Mar 19, 2017 at 05:23:12PM +0100, Luigi Toscano wrote: > > Luigi Toscano ha scritto: > > Update: Michael reviewed the 3 patches and they are merged now. The kioslave > > work, the HTML looks correct and matches for example the output of kio_man, > > but when loaded into Konqueror the styles and the other images (which comes > > from other kioslaves, like help:/) are not shown. If the generated page is > > saved and the file is loaded, they are shown. I'm puzzled and I'm not sure > > where the problem is, probably not on the kioslave side. > > I think it has something to do with the way KHTML applies CSS styles... > if you manually replace all the help:/ links with the equivalent file:// > links then the images show up find.
Actually I spoke too soon. If the kioslave applies this same exact replacement (help:/ -> file://) then the generated HTML does not render properly in Konq. If you take the kioslave output, save it to a file, and then load the file containing the exact output, it works fine in Konq -- even if the CSS and <img> links refer to help:/ instead of file:// Sorry for the noise but unless any KHTML experts are able to help understand why rendering the same exact HTML as a file works, while the same HTML from an kioslave does not, then we'll continue to see this problem. Regards, - Michael Pyne