Index: branches/RC/core/kernel/nparser/ntags.php =================================================================== diff -u -r11892 -r11934 --- branches/RC/core/kernel/nparser/ntags.php (.../ntags.php) (revision 11892) +++ branches/RC/core/kernel/nparser/ntags.php (.../ntags.php) (revision 11934) @@ -1,6 +1,6 @@ DataExists;'; + $code[] = '$_parser->DataExists = false;'; + $this->AppendCode($o, $code); + return $o; + } + + function Close($tag) + { + $o = $this->Parser->Buffers[$this->Parser->Level]; + $code = array(); + $code[] = '$res = ob_get_clean();'; + $code[] = 'if ($_parser->DataExists) {echo $res;}'; + $code[] = '$_parser->DataExists = $_tmp_data_exists;'; + + $this->AppendCode($o, $code); + return $o; + } + +} \ No newline at end of file