From 750fd6a8cfe35b253bdffb48d314978556f9841f Mon Sep 17 00:00:00 2001 From: Christopher Smith <chris@teacherscpd.co.uk> Date: Tue, 12 Jul 2005 23:12:36 +0200 Subject: [PATCH] make custom geshi language styles possible darcs-hash:20050712211236-3bbbb-c0e76063136eb78886cb1daf4d5e9785bb797ab1.gz --- inc/parser/xhtml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- GitLab