Package org.exoplatform.services.html.tidy

Examples of org.exoplatform.services.html.tidy.HTMLTidy.check()


      String text =
         "<html>" + "  <body>" + "    <div>" + "       hello" + "    </div>" + "    <p>" + "    <div>"
            + "      <% ta co %>asadsd </font> </b>" + "  </div>" + "  </body>" + "</html>";

      HTMLTidy tidy = new HTMLTidy();
      List<String> messages = tidy.check(text.toCharArray());
      System.out.println("\n\n\n");
      for (String msg : messages)
      {
         System.out.println(msg);
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.