Browse Source

fix closing raw code|file tag

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

2
src/Dokuwiki/Reader.php

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

Loading…
Cancel
Save