SVG Drawing Issue

DavyB
22 Feb 2023, 19:57I've been refreshing an old game and run into a strange issue. There are a couple of places where SVG images are displayed using Grid_DrawSvg
. All works well if the game is downloaded and played locally but online the image isn't displayed properly. As an example, see:
https://textadventures.co.uk/games/view/pykhnnm9gkc_ebywohndva/whatever
Any suggestions before I look for a workaround? I'm sure this wasn't an issue when the game was first developed 5 years ago!
The relevant code is:
Grid_SetCentre (2, 24)
drawing1 = GetFileData("Causeway Puzzle.svg")
diagram1 = ""
Grid_LoadSvg (drawing1, diagram1)
Grid_DrawSvg ("causeway", diagram1, -4, 20, 12, 8)

DavyB
24 Feb 2023, 14:27...I've implemented a workaround (game recognises where it is being played and loads an image inline rather than showing it in the map area). I'll leave my first posting as a bug report.
In implementing the workaround found another interesting bug. Used the following:
desktop = game.questplatform = "desktop"
display_graph_puzzle (desktop)
instead of the following direct version gave a syntax error?
display_graph_puzzle (game.questplatform = "desktop")
...another bug report!