logo       

Re: non breaking spaces added at the top of the pages ...: msg#00054

web.wiki.phpwiki.talk

Subject: Re: non breaking spaces added at the top of the pages ...

Le jeu 11/12/2003 à 21:51, Carsten Klapp a écrit :
> I already found the bug in lib/diff.php but there are a few other
> changes I would like make in there before I commit a proper repair to
> CVS. Here's a patch as a temporary workaround:
>
> Index: diff.php
> ===================================================================
> 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] == "\n") {
> - $this->_group .= PrintXML(HTML::raw(' '));
> + $this->_group .= " "; //new RawXml(' '); //FIXME:
> asXML(HTML::raw(' ')) ???
> $this->_flushLine($tag);
> $word = 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.

--
Arnaud Fontaine
Jabber: shinobi@xxxxxxxxxxxxxx
ICQ: 3504789



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise