Hi Romain, how about
$page-getContent(ESC_RAW);
or also:
$page-getRawValue()-getContent();
?
With $page you are actually talking to a
sfOutputEscaperObjectDecorator object, which holds your Page object in
its $value property.
See the __call method in class sfOutputEscaperObjectDecorator
None of this worked, and I really don't get why even my var_dump() is escaped,
it never happened before :/
With :
?php
slot('title', $page-getTitle());
echo $page-getContent(ESC_RAW);
die();
?
I can see my HTML is properly unescaped, somehow my view is re-escaped, is it
possible to
Have you verified (e.g. using your debugger) that the object's
classnames are in reality what you should expect in theory?
- the escaping strategy for your application?
- the classname of $page object? (should be
sfOutputEscaperObjectDecorator)
- the classname of $page-$value property? (should be
Le 11 mars 2010 à 15:30, Raphael Schumacher a écrit :
Have you verified (e.g. using your debugger) that the object's
classnames are in reality what you should expect in theory?
http://up.r12t.fr/8c2b8c76.png Yep, It's NOEPage as it's supposed to be
- the escaping strategy for your