[fix] do not handle child nodes on custom tag and textNode