Browse Source

fix inline tags cleanup

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

9
src/Dokuwiki/Reader.php

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

Loading…
Cancel
Save