select option always add break line tag
Permalink
why when i insert select option in user attribut, it always include break line tag <br>, and without end slash. :)
value result i see via viewsource firefox
can i clean this br tag?
value result i see via viewsource firefox
<option value="Yes<br&rt;">Yes<br><option> <option value="No<br&rt;">No<br><option>
can i clean this br tag?
thanks for reply paalgg, i added option list from user atrribut, and never change core. and i 'm sure i m not added <br> tag or hit enter for new line in input value.
the <br> tags, comes from the core getDisplayValue() funtion.
root/concrete/models/attribute/types/select/contoller.php
i think this the model where used in dasboard user attribut.
paalgg, you can try adding user attribut with select option and see the result via 'view source' in profile view.
thanks
the <br> tags, comes from the core getDisplayValue() funtion.
root/concrete/models/attribute/types/select/contoller.php
i think this the model where used in dasboard user attribut.
paalgg, you can try adding user attribut with select option and see the result via 'view source' in profile view.
thanks
i think this is concrete style
Look at the value, the "<br&rt;" means "<br>".