Putting content-tag in an if-then-else-statement, using gallery inside the content with templates that itself use itself if-then-else-cases lead to wrong output:
(Install gallery 1.5.0rc1 and put some images inside gallery 1)
My chunk testthumb_tpl:
Output of both instances of
[[*content]]
should be identical, but is not. It is indeed broken: there's a spurious
`]]">
inside the output.
Testpage
inside if-the-else:
`]]">
outside:
I encountered problems with nested if-then-else-output filters before but usually they can be fixed by making sure not to leave out any else-statements. This one is different: all else-statements are supplied.
frischnetz created Redmine issue ID 7638
Putting content-tag in an if-then-else-statement, using gallery inside the content with templates that itself use itself if-then-else-cases lead to wrong output:
Testcase:
My Template:
My resource:
(Install gallery 1.5.0rc1 and put some images inside gallery 1)
My chunk testthumb_tpl:
Output of both instances of
should be identical, but is not. It is indeed broken: there's a spurious inside the output.outside:
I encountered problems with nested if-then-else-output filters before but usually they can be fixed by making sure not to leave out any else-statements. This one is different: all else-statements are supplied.