gusucode.com > 同城苏州黄页系统php源码程序 > lib/smarty/plugins/modifier.txt2html.php
<?php function smarty_modifier_txt2html($str) { $str=htmlspecialchars($str); $str=str_replace(" "," ",$str); $str=nl2br($str); return $str; } ?>