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