Insert text or extend element with new HTML tree if given