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