Update of /cvsroot/phpxd/phpXD.www/include/phpXD
In directory usw-pr-cvs1:/tmp/cvs-serv12373/include/phpXD
Modified Files:
phpXD.php
Log Message:
Index: phpXD.php
===================================================================
RCS file: /cvsroot/phpxd/phpXD.www/include/phpXD/phpXD.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** phpXD.php 28 Jan 2002 19:37:26 -0000 1.2
--- phpXD.php 14 Feb 2002 13:17:14 -0000 1.3
***************
*** 399,411 ****
}
else {
! $text = str_replace("\t", " ", $text);
! $text = str_replace("\n", " ", $text);
! $text = str_replace("\r", " ", $text);
! $text = str_replace(" ", " ", $text);
!
! if (trim($text) != "") {
! $this->lastNode =& $this->currentNode->appendChild(
! $this->document->createTextNode($text));
! }
}
}
--- 399,404 ----
}
else {
! $this->lastNode =& $this->currentNode->appendChild(
! $this->document->createTextNode($text));
}
}
|