Browse Source

Update MarkdownExtra.php

Changed the value from 0 to -1
pull/565/head
David E Vasquez 3 years ago
parent
commit
d5db937c92
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      system/vendor/michelf/php-markdown/Michelf/MarkdownExtra.php

+ 1
- 1
system/vendor/michelf/php-markdown/Michelf/MarkdownExtra.php View File

@ -1898,7 +1898,7 @@ class MarkdownExtra extends \Michelf\Markdown {
# in: text ~~deleted~~ from doc
# out: text <del>deleted</del> from doc
#
$parts = preg_split('/(?<![~])(~~)(?![~])/', $text, 0, PREG_SPLIT_DELIM_CAPTURE);
$parts = preg_split('/(?<![~])(~~)(?![~])/', $text, -1, PREG_SPLIT_DELIM_CAPTURE);
//don't bother if nothing to do...
if(count($parts) <= 1)


Loading…
Cancel
Save