From 29c2a1c86b97d7a0c4319057912fc3990c9d57c7 Mon Sep 17 00:00:00 2001 From: Christian Ezeani Date: Fri, 31 Mar 2023 16:53:18 +0100 Subject: [PATCH] Fix empty first line --- dist/plugin.info.txt | 4 ++-- dist/syntax.php | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dist/plugin.info.txt b/dist/plugin.info.txt index 3fc8dcc..977825e 100644 --- a/dist/plugin.info.txt +++ b/dist/plugin.info.txt @@ -1,7 +1,7 @@ base codify author Christian Ezeani email christian.ezeani@gmail.com -date 2023-03-21 -name codify plugin +date 2023-03-31 +name Codify Plugin desc Provides awesome code highlighting using PrismJS in dokuwiki pages. url http://www.dokuwiki.org/plugin:codify diff --git a/dist/syntax.php b/dist/syntax.php index 8d781b9..cce8c26 100644 --- a/dist/syntax.php +++ b/dist/syntax.php @@ -44,6 +44,7 @@ public function render($mode, Doku_Renderer $renderer, $data) { break; case DOKU_LEXER_UNMATCHED: + $match = ltrim($match); $renderer->doc .= $renderer->_xmlEntities($match); break;