Name

Promiscuous — allow output of HTML code in value variables

SYNOPSIS

No | Yes

DESCRIPTION

Allow output of HTML code from [value] tags.

DIRECTIVE TYPE AND DEFAULT VALUE

Catalog directive

EXAMPLES

Example: Defining Promiscuous

Promiscuous yes

NOTES

By default, when this directive is disabled, the characteristic HTML characters (< and >), are encoded to &lt; and &gt;.

This catalog-wide directive is equivalent in effect to passing enable_html=1 attribute to the individual [value] tags.

AVAILABILITY

Promiscuous is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 653

['Promiscuous',     'yesno',            'No'],

Source: lib/Vend/Config.pm
Line 5414 (context shows lines 5414-5426)

sub parse_yesno {
my($var, $value) = @_;
$_ = $value;
if (m/^y/i || m/^t/i || m/^1/ || m/^on/i) {
  return 1;
}
elsif (m/^n/i || m/^f/i || m/^0/ || m/^of/i) {
  return 0;
}
else {
  config_error("Use 'yes' or 'no' for the $var directive\n");
}
}

AUTHORS

Interchange Development Group

SEE ALSO

value(7ic)

DocBook! Interchange!