public void visit(UnformattedTextNode unformattedTextNode) { if (unformattedTextNode.hasContent()) { append(HtmlUtil.escape(unformattedTextNode.getContent())); } else { traverse(unformattedTextNode.getChildASTNodes()); } }
public void visit(UnformattedTextNode unformattedTextNode) { if (unformattedTextNode.getChildASTNodesCount() > 0) { traverse(unformattedTextNode.getChildASTNodes()); } }