@thomthom said:
That wasn't the test. The test was how sending strings to Webdialog with < and > characters affected the DOM.
` > wd = UI::WebDialog.new('HelloWorld')
wd.set_html( 'Hello world' )
wd.show_modal
true
wd.execute_script('alert( "<b>bold text</b>" );')
true
wd.execute_script('alert( document.body.innerHTML );')
true
wd.execute_script('alert( document.getElementsByTagName("b").length );')
true`
this is what I tested, the difference I can see, is that your alert window appears to store the previous message, on the mac I don't see that, but the end result seems to be the same.
1[image: KngN_01wd.png]
2[image: v5s5_02wd.png]
3[image: OqYA_03wd.png]
john