aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/bugs/wrong_rendering_of_templatebody.mdwn7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/bugs/wrong_rendering_of_templatebody.mdwn b/doc/bugs/wrong_rendering_of_templatebody.mdwn
index 20d906023..93a687ab8 100644
--- a/doc/bugs/wrong_rendering_of_templatebody.mdwn
+++ b/doc/bugs/wrong_rendering_of_templatebody.mdwn
@@ -18,6 +18,13 @@ of my templates renders as the *rest* of the template page when used, instead of
the body part. In other words, it renders exactly the part it should hide (the
description) and ignores the body itself (which is inside \[[!templatebody]]).
+> With a hint from [[kjs]] on [[templates/discussion]], I was able to reproduce
+> this bug. It seems to have been caused by an optimization: please try applying
+> [commit 5fd863b5](http://source.ikiwiki.branchable.com/?p=source.git;a=commitdiff;h=5fd863b5b05449669ec56c6798d836e3302386e2)
+> to your Render.pm. I'll try to work out a way to have the optimization
+> without the correctness impact, but for now, reverting the optimization,
+> which I have [[done]], seems like the way forward. --[[smcv]]
+
When I manually re-generate the wiki, it suddenly renders right. As soon as the
page gets rebuilt automatically after some git push, it renders the wrong way.