From 045e83fcd01744de210e27847e8afeee32535ae8 Mon Sep 17 00:00:00 2001 From: aftercase <74765798+aftercase@users.noreply.github.com> Date: Wed, 14 Jul 2021 23:05:34 +0100 Subject: [PATCH] Fixed empty array. Removed spagooter. Stopped ("span class="kw1">") from loading in pastes. --- includes/geshi/green.php | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/includes/geshi/green.php b/includes/geshi/green.php index 35efb41..e763974 100644 --- a/includes/geshi/green.php +++ b/includes/geshi/green.php @@ -26,7 +26,6 @@ $language_data = array( 'LANG_NAME' => 'Example', 'COMMENT_SINGLE' => array( 1 => '>', - 2 => '>' ), 'COMMENT_MULTI' => array(), 'COMMENT_REGEXP' => array(), @@ -37,11 +36,7 @@ $language_data = array( 'HARDQUOTE' => array(), 'HARDESCAPE' => array(), 'HARDCHAR' => '', - 'KEYWORDS' => array( - 1 => array( - '' - ) - ), + 'KEYWORDS' => array(), 'CASE_SENSITIVE' => array( 1 => false ), @@ -51,14 +46,9 @@ $language_data = array( ) ), 'STYLES' => array( - 'KEYWORDS' => array( - 1 => 'color: #0000FF; font-weight: bold;' - ), + 'KEYWORDS' => array(), 'COMMENTS' => array( 1 => 'font-style: normal; color: #789922; line-height: 1.2;', - 2 => 'font-style: normal color: #789922; line-height: 1.2;', - 1 => 'font-style: normal; color: #789922; line-height: 1.2;', - 'MULTI' => 'font-style: normal; color: #666666; line-height: 1.2;' ), 'ESCAPE_CHAR' => array(), 'BRACKETS' => array(),