function rtf::nl2par in Bibliography Module 7.2
Same name and namespace in other branches
- 6.2 modules/rtf/rtf_export.inc \rtf::nl2par()
- 6 class_rtf.php \rtf::nl2par()
- 7 modules/rtf/rtf_export.inc \rtf::nl2par()
1 call to rtf::nl2par()
- rtf::parseDocument in modules/
rtf/ rtf_export.inc
File
- modules/
rtf/ rtf_export.inc, line 169
Class
Code
function nl2par($text) {
$text = str_replace("\n", "\\par ", $text);
return $text;
}