Class HtmlUtil

java.lang.Object
org.cy3sbml.util.HtmlUtil

public final class HtmlUtil extends Object
Escaping of text for HTML.
  • Method Details

    • escape

      public static String escape(String text)
      Escapes the characters with a meaning in HTML (& < > "), so the text shows as is in an element or an attribute value. Other characters are kept: the cy3sbml pages are UTF-8.
      Returns:
      the escaped text, null for null