Was just trying to use a javascript method on our learning platform

document.write

It seems to output the results repeatedly for some reason known only to the developers of the wysiwyg editor.

I wondered if anyone else had this issue and overcame it

Thanks