diff --git a/src/Dokuwiki/Reader.php b/src/Dokuwiki/Reader.php index 4599841..ea68dbf 100644 --- a/src/Dokuwiki/Reader.php +++ b/src/Dokuwiki/Reader.php @@ -235,7 +235,11 @@ class Reader if ($raw) { - $lines[] = $line; + $lines[] = preg_replace( + '/^\s*```/', + ' ```', + $line + ); continue; }