compatible_5_2 — (obsolete) in table editor, keep error text (mistakenly) hidden, as it was the case up to Interchange 5.2
When the pragma is enabled, error text is (mistakenly) displayed within an HTML comment, instead of being visible on the page.
This omission has been fixed, and the pragma forces old behavior, if you depend on it.
Interchange 5.4.0 (1/1 contexts shown):
Source: lib/Vend/Table/Editor.pm (rev. 1.81.2.2 from Fri Mar 30 12:15:46 2007)
Line 3850 (context shows lines 3840-3854 in editor():2190)
my $err_string;
if($error->{$c}) {
my $parm = {
name => $c,
std_label => '$LABEL$',
required => 1,
};
if($opt->{all_errors}) {
$parm->{keep} = 1;
if(! $::Pragma->{compatible_5_2}) {
$parm->{text} = $opt->{error_template} || <<EOF;
<font color="$opt->{color_fail}">\$LABEL\$ (%s)</font>
[else]{REQUIRED <b>}{LABEL}{REQUIRED </b>}[/else]
EOF