CreateInputTextWithLabel outputs htmlentities
Posted: Wed May 30, 2012 2:05 pm
Hello i´m using CMS Made Simple version 1.10.3.
I made an admin form to edit a record. When the text entered in the InputText has "!" it is converted to "!"
But if instead of CreateInputTextWithLabel i use CreateInputText everything goes as expected.
Searching the API code i found that CreateInputTextWithLabel calls CreateInputText, so doubling the cms_htmlentities($variable) call.
Shouldn't it be called only once?
I made an admin form to edit a record. When the text entered in the InputText has "!" it is converted to "!"
But if instead of CreateInputTextWithLabel i use CreateInputText everything goes as expected.
Searching the API code i found that CreateInputTextWithLabel calls CreateInputText, so doubling the cms_htmlentities($variable) call.
Shouldn't it be called only once?