return $str;
}
-# Encode for output in html. Convert newlines to <br />
+# Encode for output in html. Convert newlines to <br>
#
# Example: <p>~foo htmlbr~</p>
function enc_htmlbr($str) {
$str = enc_html($str);
- $str = str_replace("\n", "<br />\n", $str);
+ $str = str_replace("\n", "<br>\n", $str);
return $str;
}
# Encode for output in html. Preserves newlines and indentation by converting
-# newlines to <br /> and spaces at the begining of lines to
+# newlines to <br> and spaces at the begining of lines to
#
# Example: <p>~foo htmlbrtab~</p>
function enc_htmlbrtab($str) {
return $str;
}
-# Encode for output in html. Spaces converted to and \n to <br />
+# Encode for output in html. Spaces converted to and \n to <br>
#
# Example: <option value="12">~foo htmlbrnbsp~</option>
function enc_htmlbrnbsp($str) {