mirror of
https://github.com/YGGverse/gemini-php.git
synced 2026-04-01 09:25:29 +00:00
fix inline tags cleanup
This commit is contained in:
parent
676851ce55
commit
6ddee5cb56
1 changed files with 4 additions and 5 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue