[BUG?] Swiki bug, and some questions

Lex Spoon lex at cc.gatech.edu
Fri Jul 2 17:07:19 UTC 1999


No idea on the dropped connections.  Could you try it on a different OS and see if it still happens?  Also, you could check that your VM is the newest available for your platform.

Regarding line endings, Swikis actually do translate them.  Internally, Swikis use squeak-friendly CR terminators.  On the network, Swikis use CRLF terminators on output, and allow for all three common conventions on input.  They use the rather long-named #withSqueakLineEndings and #withInternetLineEndings methods to handle the translations.

Perhaps the extra lines you are seeing are because the regular Swiki formatter adds a <br> to the end of each line?  If so, you could try using the LessHTMLFormatter instead of the regular formatter.  The regular formatter is nice if you enter a lot of code or email messages, but in some cases it is friendlier than you like.


Lex



Chris Cunningham <chrisc at wolfenet.com> wrote:
> A question about Swikis - If I try to paste in text that I don't want
> formatted, it appears that I need to use the HTML <pre></pre> tags.  Doing
> this, I get a blank line between each line of displayed text.  I suspect
> that this could be called a bug as well.  Maybe when the Swiki takes in
> text, it needs to convert end of line characters into a generic format.  Of
> course, it can't do this based on the platform that is running the Swiki,
> since the person creating the page can be on any platform.
> 
> Thanks





More information about the Squeak-dev mailing list