@@ 963-965 (lines=3) @@ | ||
960 | private function __do_shortcode_tag($m) |
|
961 | { |
|
962 | // allow [[foo]] syntax for escaping a tag |
|
963 | if ($m[1] == '[' && $m[6] == ']') { |
|
964 | return substr($m[0], 1, -1); |
|
965 | } |
|
966 | ||
967 | $tag = $m[2]; |
|
968 | $attr = $this->shortcode_parse_atts($m[3]); |
|
@@ 1111-1113 (lines=3) @@ | ||
1108 | private function __strip_shortcode_tag($m) |
|
1109 | { |
|
1110 | // allow [[foo]] syntax for escaping a tag |
|
1111 | if ($m[1] == '[' && $m[6] == ']') { |
|
1112 | return substr($m[0], 1, -1); |
|
1113 | } |
|
1114 | ||
1115 | return $m[1] . $m[6]; |
|
1116 | } |