**** WARNING ... MAY BE A SECURITY BREACH ... WARNING ****
Sometime in the past year-about, the MSIE 6/7 HTML-Render mechanism has been altered downstream of this method, such that it corrupts the innerHTML in a special case of literalized-quotemarks: (Note that this is only for full-quotemark, whereas semiquote works just-fine.)
eg. (generator code)
var actornameHTML=actorlistname.replace(/('|"|\\)/g,'\\$1'); //converts quotemarks
actorcalls.insertAdjacentHTML('beforeEnd','<b><a onclick="insertDepiction(\''+actornameHTML+'\')" style=color:CBE>←«</a> <a onclick="insertActor(\'<DL>'+actornameHTML+' (OS)<DT></DL>\')" style=color:CBE>OS</a></b>')
eg. (for input "john" quotemarked - innerHTML: 'xmp-debug'ed)
<b><a onclick="insertDepiction('\"john\"')" style=color:CBE>←«</a> <a onclick="insertActor('<DL>\"john\" (OS)<DT></DL>')" style=color:CBE>OS</a></b>
eg. (for input "john" quotemarked - innerHTML: 'Render-corrupted')
<B><A style="COLOR: #cbe" onclick="insertDepiction('\" john\??)?>←«</A> <A
onclick="insertActor('<DL>\" (OS)<DT john\?>
<DL></DL>')" style=color:CBE>OS</A></B>
FOLLOWUP:
The MSIE laydown of style in an element, is re-quotemarked/re-semiquotemarked, missing some quotemarks and semiquotemarks ... and thence messing-up....
(But it is also a change since I had my code example working a year ago. Ray.)
**** WARNING ... MAY BE A SECURITY BREACH ... WARNING ****