diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index aa8d90897ded43396a500e5fa393633593199b3c..14182d983a459aa6dd246d4cd438ab4ed9dfd7b1 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -349,7 +349,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
             $geshi->set_encoding('utf-8');
             $geshi->enable_classes();
             $geshi->set_header_type(GESHI_HEADER_PRE);
-            $geshi->set_overall_class('code');
+            $geshi->set_overall_class("code $language");
             $geshi->set_link_target($conf['target']['extern']);
             
             $text = $geshi->parse_code();