]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/bugs/wrong_rendering_of_templatebody.mdwn
Fix double UTF-8 decode on Perl < 5.20 with upgraded Encode.pm
[git.ikiwiki.info.git] / doc / bugs / wrong_rendering_of_templatebody.mdwn
1 I recently moved from Trisquel's version of ikiwiki (from 2013, the same one of
2 Debian wheezy backports) to the version 5.20141016 which I built from git, by
3 pulling the tag. One of the new things I have now is the templatebody
4 directive.
6 I started using it in my templates, and I suddenly notice strange behavior: one
7 of my templates renders as the *rest* of the template page when used, instead of
8 the body part. In other words, it renders exactly the part it should hide (the
9 description) and ignores the body itself (which is inside \[[!templatebody]]).
11 When I manually re-generate the wiki, it suddenly renders right. As soon as the
12 page gets rebuilt automatically after some git push, it renders the wrong way.
14 [[This|http://www.rel4tion.org/languages/haskell/]] is the page, and
15 [[this|http://www.rel4tion.org/templates/wikitag/]] is a template it uses. Right
16 now the template is rendered on that page exactly like the template page itself.
17 Both display the description text, and the \[[!templatebody]] content isn't
18 displayed at all.
20 If I debug it myself and find something relevant, I'll update here.
22 -- [[fr33domlover]]