diff --git a/SyntaxHighlight_GeSHi.langs.php b/SyntaxHighlight_GeSHi.langs.php index ff634ae3..3793675c 100644 --- a/SyntaxHighlight_GeSHi.langs.php +++ b/SyntaxHighlight_GeSHi.langs.php @@ -1,5 +1,5 @@ get_supported_languages( false ), 'ctype_alnum' ) ); + $langs = array_values( array_filter( $geshi->get_supported_languages( false ), 'lang_filter' ) ); sort( $langs ); $replace = array( '[' => "array(\n\t", ']' => "\n);\n", '",' => "\",\n\t" ); $code = "