Text to HTML-Input-value conversion
function t2i ($str);
Change " into " (and other HTML entity replacements)
Good for use with <input value="...">
This also removes any line breaks which must not occur in HTML tag attributes.
removing line breaks especially fixes an XML error for the ABBC parser that would
replace \n by <br/> in the end, leading to a <br/> tag inside the attribute which
is invalid XML.
Implementation file: unb_lib/common.lib.php, line 1387
© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.