title: InnerHTML with special character is trimming the data
body: <p>InnerHTML with special character is trimming the data.</p>
  
  <pre><code>elem.innerHTML = displayedObjects.name;
  </code></pre>
  
  <p>here the <code>displayedObjects.name</code> contains a string like <code>Test&amp;string</code>. The above statement is assigning the value only <code>Test</code>, </p>
  
  <p>What could be done here?</p>