You are here

function rtf::addText in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 modules/rtf/rtf_export.inc \rtf::addText()
  2. 7 modules/rtf/rtf_export.inc \rtf::addText()
  3. 7.2 modules/rtf/rtf_export.inc \rtf::addText()

File

./class_rtf.php, line 177

Class

rtf

Code

function addText($text) {
  $text = str_replace("\n", "", $text);
  $text = str_replace("\t", "", $text);
  $text = str_replace("\r", "", $text);
  $this->document .= $text;
}