I want to setup HtmlHelper::link() method so the default options array have escape = false.
How can I achieve this without changing the core class?
OBS: I al
Why don't you create your own custom helper and create a method that returns the HTMLHelper's link with the options set?
http://book.cakephp.org/view/102/Including-other-Helpers
class MyHelper extends AppHelper {
var $helpers = array('html');
function linkNoEscape($title, $url)
$options = array(); //set custom options, e.g. no escape
return $this->Html->link($title, $url, $options);
}
}