]> sipb.mit.edu Git - ikiwiki.git/commit
po plugin[filter]: avoid converting more than once per destfile
authorintrigeri <intrigeri@boum.org>
Sat, 11 Oct 2008 01:02:43 +0000 (03:02 +0200)
committerintrigeri <intrigeri@boum.org>
Sat, 18 Oct 2008 13:49:10 +0000 (15:49 +0200)
commit1e874b3f0a396ba99ebf7ab8bad3d7eed1a846f2
treec372b33b837d4a8df63ac7cbbb85421b7953551f
parent52728bb6eaf71057a1b6bddc551ada1da1ea4ec4
po plugin[filter]: avoid converting more than once per destfile

Only the first filter function call on a given {page,destpage} must convert it
from the PO file, subsequent calls must leave the passed $content unmodified.

Else, preprocessing loops are the rule.

Signed-off-by: intrigeri <intrigeri@boum.org>
IkiWiki/Plugin/po.pm