title: Insert line break into string
body: <p>I know this a repeat question, but I tried a lot of things and none of them worked. Essentially, I have:</p>
  
  <pre><code>var med = word.replace("!", '&lt;br /&gt;');            
  (div.get(0)).textContent = med;
  </code></pre>
  
  <p>Side note: the div has a <code>&lt;p&gt;</code> inside of it and that is what I am changing. Thank you for any advice in advance!</p>