From 924fc63e51840f243b9c1268128d2ad7f65fe254 Mon Sep 17 00:00:00 2001 From: Anika Henke <anika@selfthinker.org> Date: Wed, 6 May 2009 22:47:53 +0200 Subject: [PATCH] .final (?) fix for purple numbers darcs-hash:20090506204753-f7d6d-3b6717404d3b26a4201dd69c224a7c2d33a89732.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 649c2d5c0..de7893061 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -1122,7 +1122,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { } else { $prefix = 'HID'; } - return $prefix.preg_replace('/[\.0]*$/','',join('.',$this->node)).str_replace(':0','',':'.$this->pnid); + return $prefix.preg_replace('/(\.0)*$/','',join('.',$this->node)).str_replace(':0','',':'.$this->pnid); } /** -- GitLab