I've got the following code: echo form_submit('Update Info', icon('accept') . ' Update Info', 'class="button medium green"');
, which outputs a styled submit button. The icon
function returns the image embed code to the proper icon. Unfortunately it seems that the form_submit
method escapes the <>
in the image embed code.
How can I tell CI to trust the data from this and leave it untouched?
Update: From the CI docs:
Note: If you use any of the form helper functions listed in this page the form values will be prepped automatically, so there is no need to call this function. Use it only if you are creating your own form elements.
Anybody know how to disable this semi-annoying feature for one output?