You are here

function rtf::nl2par in Bibliography Module 7.2

Same name and namespace in other branches
  1. 6.2 modules/rtf/rtf_export.inc \rtf::nl2par()
  2. 6 class_rtf.php \rtf::nl2par()
  3. 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

rtf

Code

function nl2par($text) {
  $text = str_replace("\n", "\\par ", $text);
  return $text;
}