tags. So for the HTML below as an example:
 This is the first sentence.
 This is the second sentence.
  var container = document.getElementById("container"); var text = container.innerText || container.textContent; // the text I want tags, but the HTML may also contain , , and other tags embeeded between 
tags.