@@ 2583-2585 (lines=3) @@ | ||
2580 | private function _split_snip_call($call) |
|
2581 | { |
|
2582 | $spacer = md5('dummy'); |
|
2583 | if (strpos($call, ']]>') !== false) { |
|
2584 | $call = str_replace(']]>', "]{$spacer}]>", $call); |
|
2585 | } |
|
2586 | ||
2587 | $splitPosition = $this->_getSplitPosition($call); |
|
2588 | ||
@@ 2598-2600 (lines=3) @@ | ||
2595 | } |
|
2596 | ||
2597 | $snip['name'] = trim($name); |
|
2598 | if (strpos($params, $spacer) !== false) { |
|
2599 | $params = str_replace("]{$spacer}]>", ']]>', $params); |
|
2600 | } |
|
2601 | $snip['params'] = ltrim($params, "?& \t\n"); |
|
2602 | ||
2603 | return $snip; |