Browse Source

escape code chars in raw line

main
ghost 9 months ago
parent
commit
d66734766f
  1. 6
      src/Dokuwiki/Reader.php

6
src/Dokuwiki/Reader.php

@ -235,7 +235,11 @@ class Reader @@ -235,7 +235,11 @@ class Reader
if ($raw)
{
$lines[] = $line;
$lines[] = preg_replace(
'/^\s*```/',
' ```',
$line
);
continue;
}

Loading…
Cancel
Save