mirror of
https://github.com/danpros/htmly.git
synced 2026-04-20 20:46:26 +05:30
Update MarkdownExtra.php
Changed the value from 0 to -1
This commit is contained in:
parent
7955ba30eb
commit
d5db937c92
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue