Cakephp Override HtmlHelper::link
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 already sanitized form input, so I guess this will have no problem. Thanks in advance. Cake 2.1.5 I just implemented this and I wanted to point out a few things: Your custom html helper should extend HTML helper (and don't forget to include the HTML helper class) App::uses('HtmlHelper', 'View/Helper'); class CustomHtmlHelper extends HtmlHelper { //yadda yadda } Additionally, your call in AppController should not include the word Helper: