| @@ 539-542 (lines=4) @@ | ||
| 536 | case '/strip': |
|
| 537 | if (substr($tag_command, 0, 1)=='/') { |
|
| 538 | $this->_pop_tag('strip'); |
|
| 539 | if (--$this->_strip_depth==0) { /* outermost closing {/strip} */ |
|
| 540 | $this->_additional_newline = "\n"; |
|
| 541 | return '{' . $tag_command . '}'; |
|
| 542 | } |
|
| 543 | } else { |
|
| 544 | $this->_push_tag('strip'); |
|
| 545 | if ($this->_strip_depth++==0) { /* outermost opening {strip} */ |
|
| @@ 545-548 (lines=4) @@ | ||
| 542 | } |
|
| 543 | } else { |
|
| 544 | $this->_push_tag('strip'); |
|
| 545 | if ($this->_strip_depth++==0) { /* outermost opening {strip} */ |
|
| 546 | $this->_additional_newline = ""; |
|
| 547 | return '{' . $tag_command . '}'; |
|
| 548 | } |
|
| 549 | } |
|
| 550 | return ''; |
|
| 551 | ||