docs-core/src/main/java/com/sismics/util/HtmlToPlainText.java
// hit when all of the node's children (if any) have been visited
hit when all of the node's children (if any) have been visited
hit when all of the node ' s children ( if any ) have been visited
public void tail(Node node, int depth) {
            String name = node.nodeName();
            if (StringUtil.in(name, "br", "dd", "dt", "p", "h1", "h2", "h3", "h4", "h5"))
                append("\n");
            else if (name.equals("a"))
                append(String.format(" <%s>", node.absUrl("href")));
        }
public void tail ( Node node , int depth ) { String name = node . nodeName ( ) ; if ( StringUtil . in ( name , "br" , "dd" , "dt" , "p" , "h1" , "h2" , "h3" , "h4" , "h5" ) ) append ( "\n" ) ; else if ( name . equals ( "a" ) ) append ( String . format ( " <%s>" , node . absUrl ( "href" ) ) ) ; }
hit when all of the node's children (if any) have been visited
hit when all of the node ' s children ( if any ) have been visited