As I tried many times already, I think the following method is the cleanest way to add text to any node you want. no stock tag required, just plain text to avoid potential problems.
$(document.createTextNode("SomePlainText")).appendTo(p);
user655000
source share