@@ 2564-2566 (lines=3) @@ | ||
2561 | private function _split_snip_call($call) |
|
2562 | { |
|
2563 | $spacer = md5('dummy'); |
|
2564 | if (strpos($call, ']]>') !== false) { |
|
2565 | $call = str_replace(']]>', "]{$spacer}]>", $call); |
|
2566 | } |
|
2567 | ||
2568 | $splitPosition = $this->_getSplitPosition($call); |
|
2569 | ||
@@ 2579-2581 (lines=3) @@ | ||
2576 | } |
|
2577 | ||
2578 | $snip['name'] = trim($name); |
|
2579 | if (strpos($params, $spacer) !== false) { |
|
2580 | $params = str_replace("]{$spacer}]>", ']]>', $params); |
|
2581 | } |
|
2582 | $snip['params'] = ltrim($params, "?& \t\n"); |
|
2583 | ||
2584 | return $snip; |