Name

UrlSepChar — specify default URL separator character

SYNOPSIS

non_word_character

DESCRIPTION

Specify URL separator character for Interchange-generated HTML links. Only one character is allowed, and the only recommended ones are the default &, ; or :.

DIRECTIVE TYPE AND DEFAULT VALUE

Global directive

EXAMPLES

Example: Setting UrlSepChar

UrlSepChar :

NOTES

AVAILABILITY

UrlSepChar is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 510

['UrlSepChar',     'url_sep_char',     '&'],

Source: lib/Vend/Config.pm
Line 3733 (context shows lines 3733-3755)

sub parse_url_sep_char {
my($var,$val) = @_;

$val =~ s/\s+//g;

if($val =~ /[\w%]/) {
  config_error(
    errmsg("%s character value '%s' must not be word character or %%.", $var, $val)
  );
}
elsif(length($val) > 1) {
  config_error(
    "%s character value '%s' longer than one character.",
    $var,
    $val,
  );
}
elsif($val !~ /[&;:]/) {
  config_warn("%s character value '%s' not a recommended value.", $var, $val);
}

return $val;
}

AUTHORS

Interchange Development Group

SEE ALSO

MV_HTML4_COMPLIANT(7ic)

DocBook! Interchange!