Browse Source

fix inline tags cleanup

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

9
src/Dokuwiki/Reader.php

@ -31,11 +31,10 @@ class Reader @@ -31,11 +31,10 @@ class Reader
'/^[\s]*[=]{1}([^=]+)[=]{1}/' => '### $1' . PHP_EOL,
// Tags
'/\*\*([^\*]{2,})\*\*/' => '$1',
'/\'\'([^\']{2,})\'\'/' => '$1',
'/\%\%([^\%]{2,})\%\%/' => '$1',
'/\/\/([^\/]{2,})\/\//' => '$1',
'/([^:]{1})\/\/([^\/]{2,})\/\//' => '$1 $2',
'/\*\*/' => '',
'/\'\'/' => '',
'/\%\%/' => '',
'/\/\//' => '',
// Links

Loading…
Cancel
Save