2 Empty Paragraphs

<..p script..>
 <script element="p" >
    <dom name="." xml="." method="p" class="tex4ht.XhtmmlUtilities" />
 </script>
-_-_-

<..p script..>+
 <script element="div" >
    <dom name="." xml="." method="p" class="tex4ht.XhtmmlUtilities" />
 </script>
-_-_-

<..static void p(dom)..>
 public static void p(Node dom) {
    Node pNode = dom.getFirstChild();
    if( pNode.hasChildNodes() ){
       boolean drop = true;
       Node child = pNode.getFirstChild();
       while( child != null ){
          short type = child.getNodeType();
          if(
              (type == Node.ELEMENT_NODE)
            ||
              (type == Node.CDATA_SECTION_NODE)
            ||
              (type == Node.TEXT_NODE)
            &&
              !((Text) child).getWholeText().trim().equals("")
          ){
             drop = false; break;
          }
          child = child.getNextSibling();
       }
       if( drop ){
          dom.removeChild( pNode );
       }
    } else {
       dom.removeChild( pNode );
    }
 }
-_-_-