private static String cleanupPage()

in generator/src/main/groovy/generator/DocumentationHTMLCleaner.groovy [43:53]


    private static String cleanupPage(String location) {
        def url = location.toURL()
        try {
            def fullHTML = url.getText('utf-8')
            return extractBetween(fullHTML, BODY_START, BODY_END)
        } catch (FileNotFoundException e) {
            // 404 not found
        }

        null
    }