You are here

function rtf::nl2par in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 modules/rtf/rtf_export.inc \rtf::nl2par()
  2. 7 modules/rtf/rtf_export.inc \rtf::nl2par()
  3. 7.2 modules/rtf/rtf_export.inc \rtf::nl2par()
1 call to rtf::nl2par()
rtf::parseDocument in ./class_rtf.php

File

./class_rtf.php, line 170

Class

rtf

Code

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