[BUG: b89 & 90]: image asset id not working in input()

Confirmed bugs should get a single post here. Check the READ ME FIRST sticky thread for the format.

Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice, MapTool BugReport Manager

Forum rules
Posts that do not conform to the READ ME FIRST sticky thread are subject to deletion.
Post Reply
User avatar
wolph42
Winter Wolph
Posts: 9999
Joined: Fri Mar 20, 2009 5:40 am
Location: Netherlands
Contact:

[BUG: b89 & 90]: image asset id not working in input()

Post by wolph42 »

here you can find a more in depth discussion.

The short of it, this:

Code: Select all

[h: targetName = getSelectedNames()]
[h, token(targetID): imageSrc = getTokenImage()]

[h: abort(status = input(
   "TargetImage|<html><img src="+imageSrc+" height=50 width=50></img>  "+targetName+"</html>|| LABEL|SPAN=TRUE"
))] 
*does* work in b87 and does NOT work in b89 and b90. I've narrowed it down to the colon ':' in 'asset://....' of the imageSrc. Thats where it goes wrong. If you replace that with : it works. So apparently its a parser thingie.


Post Reply

Return to “Bug Reports”