Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for HTMLEscaper (0.05 sec)

  1. guava-tests/test/com/google/common/html/HtmlEscapersTest.java

        assertEquals("'test'", htmlEscaper().escape("\'test'"));
        assertEquals("test & test & test", htmlEscaper().escape("test & test & test"));
        assertEquals("test &lt;&lt; 1", htmlEscaper().escape("test << 1"));
        assertEquals("test &gt;&gt; 1", htmlEscaper().escape("test >> 1"));
        assertEquals("&lt;tab&gt;", htmlEscaper().escape("<tab>"));
    
        // Test simple escape of '&'.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/html/HtmlEscapers.java

       * numeric), so it does not replace non-ASCII code points with character references. This escaper
       * escapes only the following five ASCII characters: {@code '"&<>}.
       */
      public static Escaper htmlEscaper() {
        return HTML_ESCAPER;
      }
    
      // For each xxxEscaper() method, please add links to external reference pages
      // that are considered authoritative for the behavior of that escaper.
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top