new bug report, patch provided
authorintrigeri <intrigeri@boum.org>
Fri, 25 Jun 2010 17:32:29 +0000 (19:32 +0200)
committerintrigeri <intrigeri@boum.org>
Fri, 25 Jun 2010 17:32:29 +0000 (19:32 +0200)
doc/bugs/po_vs_templates.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/po_vs_templates.mdwn b/doc/bugs/po_vs_templates.mdwn
new file mode 100644 (file)
index 0000000..a0ccc5f
--- /dev/null
@@ -0,0 +1,17 @@
+The po plugin's protection against processing loops (i.e. the
+alreadyfiltered stuff) is playing against us: the template plugin
+triggers a filter hooks run with the very same ($page, $destpage)
+arguments pair that is used to identify an already filtered page.
+
+Processing an included template can then mark the whole translation
+page as already filtered, which prevented `po_to_markup` to be called on
+the PO content.
+
+Symptoms: the unprocessed gettext file goes unfiltered to the
+generated HTML.
+
+This has been fixed in my po branch.
+
+-- [[intrigeri]]
+
+[[!tag patch]]