Cancel view-> escape () in zend framework

Is there any way to cancel the effect of the shoot after it is completed. I use $this->view->escape()for multiple values, but there is one value that I really don't want to run away from. Is there a way to literally change the effect on the escape after it is completed?

+3
source share
1 answer

[̶̶̶ s̶t̶r̶i̶p̶s̶l̶a̶s̶h̶e̶s ̶̶̶] ̶ [̶1̶] ̶ ̶w̶i̶l̶l̶ ̶u̶n̶e̶s̶c̶a̶p̶e̶ ̶t̶h̶e̶ ̶s̶t̶r̶i̶n̶g̶ ̶c̶o̶r̶r̶e̶c̶t̶l̶y̶.̶ ̶ ̶ ̶ think about creating a filter and passing only the values ​​you want to avoid Http: ̶ / ̶ / ̶f̶r̶a̶m̶e̶w̶o̶r̶k̶.̶z̶e̶n̶d̶.̶c̶o̶m̶ / MANUAL / RU / ̶z̶e̶n̶d̶ .̶F̶i̶l̶t̶e̶r̶.̶w̶r̶i̶t̶i̶n̶g̶_̶f̶i̶l̶t̶e̶r̶s̶.̶h̶t̶m̶l̶


Edit: I think this is right now.

escape() htmlspecialchars() PHP .

http://framework.zend.com/manual/en/zend.view.scripts.html

htmlspecialchars_decode

HTML : http://php.net/manual/en/function.htmlspecialchars-decode.php

+2

All Articles