diff options
Diffstat (limited to 'application/libraries/Pygments.php')
-rw-r--r-- | application/libraries/Pygments.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/application/libraries/Pygments.php b/application/libraries/Pygments.php index c8e1f8028..074e8a6c1 100644 --- a/application/libraries/Pygments.php +++ b/application/libraries/Pygments.php @@ -38,6 +38,9 @@ class Pygments { $last_desc = ""; foreach (self::get_pygments_info() as $lexer) { + if (empty($lexer['names'])) { + continue; + } $desc = $lexer['fullname']; $name = $lexer['names'][0]; if ($desc == $last_desc) { |