Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for replaceBlockQuote (0.08 seconds)

  1. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

         * {@code """} delimited strings can be embedded in CONSOLE and can
         * contain newlines and {@code "} without the normal JSON escaping.
         * This has to add it.
         */
        @PackageScope
        static String replaceBlockQuote(String body) {
            int start = body.indexOf('"""');
            if (start < 0) {
                return body
            }
            /*
             * 1.3 is a fairly wild guess of the extra space needed to hold
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
Back to Top