LotGDocker/lotgd-web/lotgd/lib/nltoappon.php

12 lines
213 B
PHP
Raw Permalink Normal View History

2020-08-17 19:16:42 -04:00
<?php
// translator ready
// addnews ready
// mail ready
function nltoappon($in){
$out = str_replace("\r\n","\n",$in);
$out = str_replace("\r","\n",$out);
$out = str_replace("\n","`n",$out);
return $out;
}
?>