diff --git a/src/Dokuwiki/Reader.php b/src/Dokuwiki/Reader.php index b034805..4599841 100644 --- a/src/Dokuwiki/Reader.php +++ b/src/Dokuwiki/Reader.php @@ -198,7 +198,7 @@ class Reader $lines[] = '```'; $lines[] = preg_replace( - '/<(code|file)[^>]*>/i', + '/<\/?(code|file)[^>]*>/i', '', $line );