Config: support README.html validation
commited3557522aa2f2a4aabdeba43d3436e065cd004f
authorKyle J. McKay <mackyle@gmail.com>
Mon, 11 May 2015 04:53:31 +0000 (10 21:53 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 11 May 2015 04:53:31 +0000 (10 21:53 -0700)
treeea7363cb34c6d4a0a77a9d7e144a7e6f08b8ec66
parent0cce53b0d38e42214a847f3a39a24c00f0cc2675
Config: support README.html validation

If $Girocco::Config::xmllint_readme is true then the contents
of the README.html file must pass xmllint validation before
they can be saved.

A minimal prefix and suffix is attached before passing
to xmllint.  Any errors must be corrected before saving.

The $Girocco::Config::xmllint_readme setting is off by
default to remain backwards compatible.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Girocco/Config.pm
Girocco/Project.pm