From 15d771f7c7b0994c846132d74120f611d4ee3684 Mon Sep 17 00:00:00 2001
From: Phy <git@phy25.com>
Date: Wed, 20 Dec 2017 20:47:17 +0800
Subject: [PATCH] fix xhtml:internallink $params usage, fixes #2188 not
 perfect, but it works

---
 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 042aba111..044f0c619 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -889,7 +889,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
         $link['more']   = '';
         $link['class']  = $class;
         if($this->date_at) {
-            $params['at'] = $this->date_at;
+            $params = $params.'&at='.urlencode($this->date_at);// Not perfect, but it works
         }
         $link['url']    = wl($id, $params);
         $link['name']   = $name;
-- 
GitLab