I am use this.
echo html_entity_decode(
$this->Form->postLink( '<i class="fa fa-fw fa-remove"></i>Delete',
['action' => "delete",$item->id],
['confirm' => 'Are you sure?'])
);
No problems here but I want to don't use html_entity_decode. Do you have another solution?
echo $this->Form->postLink( '<i class="fa fa-fw fa-remove"></i>Delete',
['action' => "delete",$item->id],
['confirm' => 'Are you sure?']);
Result: <i class="fa fa-fw fa-remove"></i>Delete