From 6ddee5cb56103dfe5086aedd265669ae9fc67a61 Mon Sep 17 00:00:00 2001 From: ghost Date: Sun, 4 Feb 2024 18:27:18 +0200 Subject: [PATCH] fix inline tags cleanup --- src/Dokuwiki/Reader.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Dokuwiki/Reader.php b/src/Dokuwiki/Reader.php index dc8ba86..85a37d7 100644 --- a/src/Dokuwiki/Reader.php +++ b/src/Dokuwiki/Reader.php @@ -31,11 +31,10 @@ class Reader '/^[\s]*[=]{1}([^=]+)[=]{1}/' => '### $1' . PHP_EOL, // Tags - '/\*\*([^\*]{2,})\*\*/' => '$1', - '/\'\'([^\']{2,})\'\'/' => '$1', - '/\%\%([^\%]{2,})\%\%/' => '$1', - '/\/\/([^\/]{2,})\/\//' => '$1', - '/([^:]{1})\/\/([^\/]{2,})\/\//' => '$1 $2', + '/\*\*/' => '', + '/\'\'/' => '', + '/\%\%/' => '', + '/\/\//' => '', // Links