Browse Source

fix closing raw code|file tag

main
ghost 11 months ago
parent
commit
880ffa2c3d
  1. 2
      src/Dokuwiki/Reader.php

2
src/Dokuwiki/Reader.php

@ -198,7 +198,7 @@ class Reader @@ -198,7 +198,7 @@ class Reader
$lines[] = '```';
$lines[] = preg_replace(
'/<(code|file)[^>]*>/i',
'/<\/?(code|file)[^>]*>/i',
'',
$line
);

Loading…
Cancel
Save