From: Simon McVittie Date: Sat, 1 Dec 2018 21:07:38 +0000 (+0000) Subject: ikiwiki.info doesn't have fenced code blocks yet X-Git-Tag: 3.20190207~69 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/ce2edfe61d03c7013bd462a789f5b0307fd75f0a ikiwiki.info doesn't have fenced code blocks yet --- diff --git a/doc/todo/Re-use_translated_content_instead_of_skipping_if_previously_translated.mdwn b/doc/todo/Re-use_translated_content_instead_of_skipping_if_previously_translated.mdwn index e0dec5cfa..3763cd9b0 100644 --- a/doc/todo/Re-use_translated_content_instead_of_skipping_if_previously_translated.mdwn +++ b/doc/todo/Re-use_translated_content_instead_of_skipping_if_previously_translated.mdwn @@ -108,14 +108,12 @@ Looking back at the history of the `po` plugin, it seems that the `alreadyfiltered` mechanism was introduced (under a different name, with less abstraction) by [[intrigeri]] in commit 1e874b3f: -``` -po plugin[filter]: avoid converting more than once per destfile + 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. + 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. -``` + Else, preprocessing loops are the rule. I don't understand this. Under what circumstances would we pass content through the filter hooks, and then pass it back through the same filter