{"action":"opened","issue":{"url":"https://api.github.com/repos/amiga-mui/htmlview/issues/3","labels_url":"https://api.github.com/repos/amiga-mui/htmlview/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/amiga-mui/htmlview/issues/3/comments","events_url":"https://api.github.com/repos/amiga-mui/htmlview/issues/3/events","html_url":"https://github.com/amiga-mui/htmlview/issues/3","id":107405117,"number":3,"title":"MUIA_HTMLview_Contents and external files","user":{"login":"softwarefailure","id":6772528,"avatar_url":"https://avatars.githubusercontent.com/u/6772528?v=3","gravatar_id":"","url":"https://api.github.com/users/softwarefailure","html_url":"https://github.com/softwarefailure","followers_url":"https://api.github.com/users/softwarefailure/followers","following_url":"https://api.github.com/users/softwarefailure/following{/other_user}","gists_url":"https://api.github.com/users/softwarefailure/gists{/gist_id}","starred_url":"https://api.github.com/users/softwarefailure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/softwarefailure/subscriptions","organizations_url":"https://api.github.com/users/softwarefailure/orgs","repos_url":"https://api.github.com/users/softwarefailure/repos","events_url":"https://api.github.com/users/softwarefailure/events{/privacy}","received_events_url":"https://api.github.com/users/softwarefailure/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-20T17:16:35Z","updated_at":"2015-09-20T17:16:35Z","closed_at":null,"body":"When using MUIA_HTMLview_Contents to set the HTMLview contents, there seems to be a problem with resolving external files. Consider the following code:\r\n\r\n```\r\nset(obj, MUIA_HTMLview_Contents, \"<html><head></head><body>Hello World<br><hr><br><img src=\\\"test.png\\\"></body></html>\")\r\n```\r\n\r\n\"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=>``.\r\n\r\nPlease fix."}}