mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-15 02:24:07 +00:00
Bug 9955: disabled linking keywords to external web sites
This commit is contained in:
parent
d37b330ec4
commit
4a50cf071b
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue