| @@ 981-983 (lines=3) @@ | ||
| 978 | private function __do_shortcode_tag($m) |
|
| 979 | { |
|
| 980 | // allow [[foo]] syntax for escaping a tag |
|
| 981 | if ($m[1] == '[' && $m[6] == ']') { |
|
| 982 | return substr($m[0], 1, -1); |
|
| 983 | } |
|
| 984 | ||
| 985 | $tag = $m[2]; |
|
| 986 | $attr = $this->shortcode_parse_atts($m[3]); |
|
| @@ 1129-1131 (lines=3) @@ | ||
| 1126 | private function __strip_shortcode_tag($m) |
|
| 1127 | { |
|
| 1128 | // allow [[foo]] syntax for escaping a tag |
|
| 1129 | if ($m[1] == '[' && $m[6] == ']') { |
|
| 1130 | return substr($m[0], 1, -1); |
|
| 1131 | } |
|
| 1132 | ||
| 1133 | return $m[1] . $m[6]; |
|
| 1134 | } |
|