Bug #13045
Entity decode of strings are different between if-conditions and output of variable
Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-02-15
Due date:
% Done:
0%
Estimated time:
Has patch:
Description
If I assign the following to a variable:
<ul class="csc-menu csc-menu-3"><li class="csc-section">
And want to work with this string in an own viewhelper, I have to html_entity_decode it. If I not do this, the submitted string depends where I call the viewhelper.
Fluid-Template Example 1:
Cool String: {own:viewhelper subject='{variables}'}
My viewhelper gets the subject:
<ul class=" ..."as expected.
Fluid-Template Example 2:
<f:if condition="{own:viewhelper subject='{variables}'}"> <f:then> ...Note: My viewhelper counts some html tags in the string and returns an integer.
The given subject is now:
<ul class=" ...
This is generally no big problem, but it is a little bit inconsistent and not documented.
Kind Regards
No data to display