XHTML — enable XHTML-conformant HTML output
If the directive is enabled, Interchange produces more XHTML-compliant HTML
output. This just includes the insertion of "/
"
in standalone tag endings, since argument name lowercasing and argument
option quoting (the other two "things" that make XHTML XHTML)
have been already adopted practices for all HTML output.
Interchange is gradually adopting XHTML-compliant HTML code. Therefore,
some things might still not be XHTML-ready even after users enable
XHTML
.
Making HTML output XHTML-compliant is extremely easy (basically, you only
need to lowercase argument names, quote argument options, and include
$Vend::Xtrailer
before the ending
">
" for standalone tags. That said, XHTML-compliance
patches are gladly accepted to speed up the effort.
Interchange 5.9.0:
Source: lib/Vend/Config.pm
Line 5434 (context shows lines 5434-5446)
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"); } }