The answer is to replace innerText with innerXml in the code snippet; ie.
findElements("content").first.innerXml