Bug 9955: disabled linking keywords to external web sites

This commit is contained in:
Yuri Astrakhan 2007-05-18 19:39:39 +00:00
parent d37b330ec4
commit 4a50cf071b

View file

@ -90,6 +90,7 @@ function syntaxHighlightFormat( $text, $params, $parser ) {
$geshi->set_encoding( 'UTF-8' );
$geshi->enable_classes();
$geshi->set_overall_class( "source source-$lang" );
$geshi->enable_keyword_links(false);
if ( isset( $params['enclose'] ) && $params['enclose'] == 'div' ) {
$enclose = GESHI_HEADER_DIV;