amiga-mui / htmlview

A well-known and used MUI custom class (HTMLview.mcc) which provides MUI application programmers a gadget for viewing/displaying HTML pages. It comes with an object-oriented design, slim and tidy so that the HTML engine is capable of showing HTML very fast...
GNU Lesser General Public License v2.1
10 stars 4 forks source link

MUIA_HTMLview_Contents and external files #3

Open afalkenhahn opened 9 years ago

afalkenhahn commented 9 years ago

When using MUIA_HTMLview_Contents to set the HTMLview contents, there seems to be a problem with resolving external files. Consider the following code:

set(obj, MUIA_HTMLview_Contents, "<html><head></head><body>Hello World<br><hr><br><img src=\"test.png\"></body></html>")

"test.png" is never displayed although it is in the program directory. I checked with SnoopDOS and HTMLview.mcc seems to look for a file ".png" which of course fails. I don't know why it strips the "test" from the filename passed to <img src=>.

Please fix.