Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for amp (0.01 seconds)

  1. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            assertTrue(html.contains("<title>Title with &lt;script&gt;alert(&#39;xss&#39;)&lt;/script&gt;</title>"));
            assertTrue(html.contains("Content with &amp; &lt; &gt; &quot; &#39;"));
            assertFalse(html.contains("<script>"));
        }
    
        @Test
        public void test_buildHtml_excludeFields() {
            final Map<String, Object> source = new LinkedHashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/chat/ChatClient.java

         * @return the escaped text
         */
        protected String escapeHtml(final String text) {
            if (text == null) {
                return "";
            }
            return text.replace("&", "&amp;").replace("<", "&lt;").replace(">", "&gt;").replace("\"", "&quot;").replace("'", "&#39;");
        }
    
        /**
         * Gets the maximum number of history messages to retain.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     * Manually using `StringBuilder` to assemble these components is cumbersome: do '+' characters get
     * silently replaced with spaces? If a query parameter contains a '&amp;', does that get escaped?
     * By offering methods to read and write individual query parameters directly, application
     * developers are saved from the hassles of encoding and decoding.
     *
     * ### Plus a modern API
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 63.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            assertEquals("\u00C4pfel und \u00D6pfel", title);
        }
    
        @Test
        public void test_htmlEntity_mixedContent() throws Exception {
            final String data = "<html><body><p>Caf&#233; &amp; Bar</p></body></html>";
            final Document document = getDocument(data);
            final String bodyText = document.getElementsByTagName("BODY").item(0).getTextContent();
            assertTrue(bodyText.contains("Caf\u00E9"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 62.9K bytes
    - Click Count (0)
Back to Top