summaryrefslogtreecommitdiff
path: root/inc/parser/xhtml.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@teacherscpd.co.uk>2005-07-12 23:12:36 +0200
committerChristopher Smith <chris@teacherscpd.co.uk>2005-07-12 23:12:36 +0200
commit750fd6a8cfe35b253bdffb48d314978556f9841f (patch)
treecd451c86e5969010bc42e8b343d3a9c3144bd330 /inc/parser/xhtml.php
parent034138e2b785d6e673a21c43f1c3a5fe6170ad7b (diff)
downloadrpg-750fd6a8cfe35b253bdffb48d314978556f9841f.tar.gz
rpg-750fd6a8cfe35b253bdffb48d314978556f9841f.tar.bz2
make custom geshi language styles possible
darcs-hash:20050712211236-3bbbb-c0e76063136eb78886cb1daf4d5e9785bb797ab1.gz
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r--inc/parser/xhtml.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index aa8d90897..14182d983 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();