@@ 2557-2559 (lines=3) @@ | ||
2554 | private function _split_snip_call($call) |
|
2555 | { |
|
2556 | $spacer = md5('dummy'); |
|
2557 | if (strpos($call, ']]>') !== false) { |
|
2558 | $call = str_replace(']]>', "]{$spacer}]>", $call); |
|
2559 | } |
|
2560 | ||
2561 | $splitPosition = $this->_getSplitPosition($call); |
|
2562 | ||
@@ 2572-2574 (lines=3) @@ | ||
2569 | } |
|
2570 | ||
2571 | $snip['name'] = trim($name); |
|
2572 | if (strpos($params, $spacer) !== false) { |
|
2573 | $params = str_replace("]{$spacer}]>", ']]>', $params); |
|
2574 | } |
|
2575 | $snip['params'] = ltrim($params, "?& \t\n"); |
|
2576 | ||
2577 | return $snip; |