I have the following code in the Data Source class that is supposed to display icon
Case "output_path"
vUseStyle = False
Var vValue As String
vValue = pRs.Column(vFldName)
If vValue.ToInteger > 0 Then
vValue = "<img src='" + str(WebPicture.BootstrapIcon("check-circle", Color.Black).URL)+"'> "
Else
vValue = "---"
End If
vRow.Value(vFldName) = vValue
where Var vRow As New WebListBoxRowData
The above code works fine (the icon shows) in Xojo2025R1, in Xojo2025R1.1 and up it only shows the link instead of the image. The “friendly” ChatGPT tell me “Because in Web 2.0, Xojo sanitizes HTML in listbox values for security reasons.”
I have tried many suggestions and nothing works so far.
Where do I look for the solution of this problem?