@@ 1001-1003 (lines=3) @@ | ||
998 | private function _do_shortcode_tag($m) |
|
999 | { |
|
1000 | // allow [[foo]] syntax for escaping a tag |
|
1001 | if ($m[1] == '[' && $m[6] == ']') { |
|
1002 | return substr($m[0], 1, -1); |
|
1003 | } |
|
1004 | ||
1005 | $tag = $m[2]; |
|
1006 | $attr = $this->shortcode_parse_atts($m[3]); |
|
@@ 1149-1151 (lines=3) @@ | ||
1146 | private function _strip_shortcode_tag($m) |
|
1147 | { |
|
1148 | // allow [[foo]] syntax for escaping a tag |
|
1149 | if ($m[1] == '[' && $m[6] == ']') { |
|
1150 | return substr($m[0], 1, -1); |
|
1151 | } |
|
1152 | ||
1153 | return $m[1] . $m[6]; |
|
1154 | } |