diff options
Diffstat (limited to 'inc/geshi.php')
-rw-r--r-- | inc/geshi.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/geshi.php b/inc/geshi.php index 4e709fe22..c6755ea4a 100644 --- a/inc/geshi.php +++ b/inc/geshi.php @@ -1808,7 +1808,7 @@ class GeSHi $result .= $this->parse_non_string_part($stuff_to_parse); // Lop off the very first and last spaces - $result = substr($result, 1, strlen($result) - 1); + $result = substr($result, 1, -1); // Are we still in a string? if ($STRING_OPEN) { |