make it possible to specify source content as element textContent (in HTML)