Thank you, Peter.
If you try to use SetGdagetItemText () to transfer html code to the WebGadget, this will only be incomplete. (Tested with FireFox 57.0 (64-Bit))
Can you please try the following?
Code: Select all
Enumeration
#WebGadget
EndEnumeration
OpenWindow(0, 10, 10, 500, 120, "Html-Preview")
WebGadget(#WebGadget, 10, 10, 420, 100, "")
SetGadgetItemText(#WebGadget, #PB_Web_HtmlCode, ReplaceString("<html><p style='line-height: 0px; border-top: 1px solid #ffffff;'>Hallo</p></html>", "'", Chr(34)))
In this example, only the following is received:
Code: Select all
<html><p style="line-height: 0px; border-top: 1px solid