]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
po: set Locale::Po4a::Xml's ontagerror option to warn only.
authorintrigeri <intrigeri@boum.org>
Thu, 26 May 2011 14:54:29 +0000 (16:54 +0200)
committerJoey Hess <joey@kitenet.net>
Fri, 3 Jun 2011 16:39:38 +0000 (12:39 -0400)
(cherry picked from commit 8084c79f920e5b4cb961dc6df3641a0253384eb5)

IkiWiki/Plugin/po.pm

index 6395ebdc2f99f91e3316b89cb017d157e895f81b..cb9a43a38aaa0c591d3fa1d82fa8a896bf74733b 100644 (file)
@@ -1220,6 +1220,7 @@ sub po4a_options($) {
                # how to disable options is not consistent across po4a modules
                $options{includessi} = '';
                $options{includeexternal} = 0;
+               $options{ontagerror} = 'warn';
        }
        elsif ($pagetype eq 'mdwn') {
                $options{markdown} = 1;