Index: trunk/core/kernel/parser/template_parser.php =================================================================== diff -u -r1780 -r1848 --- trunk/core/kernel/parser/template_parser.php (.../template_parser.php) (revision 1780) +++ trunk/core/kernel/parser/template_parser.php (.../template_parser.php) (revision 1848) @@ -338,6 +338,10 @@ $this->Output = ''; $this->TagHolder = new MyTagHolder(); + $has_inp_tags = false; + + if ($this->GetParam('from_inportal')) $pre_parse = 0; + if (defined('EXPERIMENTAL_PRE_PARSE') && $pre_parse) { $template_cache =& $this->Application->recallObject('TemplatesCache'); $fname = $template_cache->GetRealFilename($this->TemplateName).'.php'; @@ -393,11 +397,12 @@ if ( strpos($this->Output, 'Application->recallObject('Inp1Parser'); $this->Output = $inp1_parser->Parse($name, $this->Output); + $has_inp_tags = true; } } - if (defined('EXPERIMENTAL_PRE_PARSE') && $pre_parse) { + if (defined('EXPERIMENTAL_PRE_PARSE') && $pre_parse && !$has_inp_tags) { // $this->CompiledBuffer .= 'echo $o;'."\n"; $this->CompiledBuffer .= '?'.'>'."\n";