php - How can i do html decode text returning from html helper? cakephp 3.x -
i use this.
echo html_entity_decode( $this->form->postlink( '<i class="fa fa-fw fa-remove"></i>delete', ['action' => "delete",$item->id], ['confirm' => 'are sure?']) ); no problems here want don't use html_entity_decode. have solution?
echo $this->form->postlink( '<i class="fa fa-fw fa-remove"></i>delete', ['action' => "delete",$item->id], ['confirm' => 'are sure?']); result: <i class="fa fa-fw fa-remove"></i>delete
echo $this->form->postlink( '<i class="fa fa-fw fa-remove"></i>delete', ['action' => "delete",$item->id], ['confirm' => 'are sure?','escape'=>false]); you correct params
Comments
Post a Comment