From: Arnaud F. <ar...@cr...> - 2003-12-11 21:26:49
|
Le jeu 11/12/2003 =E0 21:51, Carsten Klapp a =E9crit : > I already found the bug in lib/diff.php but there are a few other =20 > changes I would like make in there before I commit a proper repair to =20 > CVS. Here's a patch as a temporary workaround: >=20 > Index: diff.php > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /cvsroot/phpwiki/phpwiki/lib/diff.php,v > retrieving revision 1.44 > diff -U2 -r1.44 diff.php > --- diff.php 17 Feb 2003 02:17:31 -0000 1.44 > +++ diff.php 11 Dec 2003 20:46:39 -0000 > @@ -49,5 +49,5 @@ > continue; > if ($word[0] =3D=3D "\n") { > - $this->_group .=3D PrintXML(HTML::raw(' ')); > + $this->_group .=3D " "; //new RawXml(' '); //FIXME:= =20 > asXML(HTML::raw(' ')) ??? > $this->_flushLine($tag); > $word =3D substr($word, 1); It seems to work. I just didn't understand why this happened there in the code ... ;) And maybe you're aware of the second big bug of all versions post 1.3.4: RSS is working strangely. If I try to open the RecentChanges rss feed, I got an empty doc in mozilla (or any geko based browser). Straw got also an empty document when fetching the rss. But wget got a valid rss document ... (oh ... it doesn't come from the theme. And I have the Fr_fr locale set. I tried with a dba based wiki and a mysql based wiki) I wrote a rss reader plugin for phpwiki. When I check the rss feed, it works but the modified date seems buggy ... The rss also works in Evolution. The first time I talked about this bug on the list, someone sent me to his own wiki running the same version as me : the rss was working fine. Strange behaviour. --=20 Arnaud Fontaine Jabber: sh...@ra... ICQ: 3504789 |