mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 05:35:12 +00:00
don't be greedy
This commit is contained in:
parent
2532787c45
commit
009e0348f0
1 changed files with 1 additions and 1 deletions
|
@ -1206,7 +1206,7 @@ function multicode_purify($s)
|
||||||
|
|
||||||
function bb_mdlink_protect($matches)
|
function bb_mdlink_protect($matches)
|
||||||
{
|
{
|
||||||
$token = strtok($matches[1],']= ');
|
$token = strtok($matches[1],'= ');
|
||||||
if (!$token) {
|
if (!$token) {
|
||||||
$token = $matches[1];
|
$token = $matches[1];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue