no_html_parse — disable parsing of MV= arguments inside HTML tags
This pragma disallows tag parsing inside HTML tags. This once meant a big performance gain and was enabled in the demo catalogs that shipped with older Interchange releases.
Example: Tag parsing
If you want to enable this pragma for only a particular page, do anywhere in the page:
[pragma no_html_parse]
The no_html_parse pragma itself, for which the source code has already been deleted in 4.8 series, was finally removed in Interchange 4.9.
Interchange 4.8.0 (1/1 contexts shown):
Source: lib/Vend/Parser.pm (rev. 2.0.2.2 from Tue Nov 26 03:21:10 2002)
Line 100 (context shows lines 90-104)
{
my $self = shift;
my $buf = \ $self->{_buf};
unless (defined $_[0]) {
# signals EOF (assume rest is plain text)
$self->text($$buf) if length $$buf;
$$buf = '';
return $self;
}
$$buf .= $_[0];
$Find_tag = $Vend::Cfg->{Pragma}{no_html_parse}
? qr{^([^[]+)}
: qr{^([^[<]+)}
;
#::logDebug("no_html_parse=$Vend::Cfg->{Pragma}{no_html_parse} Find_tag=$Find_tag");