| @@ 975-977 (lines=3) @@ | ||
| 972 | private function _do_shortcode_tag($m) |
|
| 973 | { |
|
| 974 | // allow [[foo]] syntax for escaping a tag |
|
| 975 | if ($m[1] == '[' && $m[6] == ']') { |
|
| 976 | return substr($m[0], 1, -1); |
|
| 977 | } |
|
| 978 | ||
| 979 | $tag = $m[2]; |
|
| 980 | $attr = $this->shortcode_parse_atts($m[3]); |
|
| @@ 1123-1125 (lines=3) @@ | ||
| 1120 | private function _strip_shortcode_tag($m) |
|
| 1121 | { |
|
| 1122 | // allow [[foo]] syntax for escaping a tag |
|
| 1123 | if ($m[1] == '[' && $m[6] == ']') { |
|
| 1124 | return substr($m[0], 1, -1); |
|
| 1125 | } |
|
| 1126 | ||
| 1127 | return $m[1] . $m[6]; |
|
| 1128 | } |
|