archive_me1Add my vote for this tag create new tag
, view all tags
The kde kfm browser (ver, HTTP_USER_AGENT=Konqueror/1.1.1) does not work corrrectly, it seems to lose cariage returns when submitting from the edit bax and also when saving the preview.

From the orginal edit box, the preview page seems to loose some line feeds, then save loses the rest, I end upd with one big paragraph for the topic.

-- MathewBoorman - 24 Apr 2000

Mathew, I do not have this environment, could you test this more? There seems to be a \r\n problem when editing topics with the kde kfm browser. I am sure there is a generic solution that works with all browsers and platforms, like adding \r at the right location. I would appreciate if you could find a fix.

I know that Kehei Wiki ( http://kehei.com/kehei/doc/WikiWikiWeb.html ) does some fiddling with DOS/Unix file formats. You can peek at their source at http://kehei.com/public/

My apologies if this is not the correct place to post this information..

I had a similar problem to the Kfm bug mentioned about, but I encountered this using the w3m browser.

(Fairly ignorant and unfounded explanation follows..) w3m stores the INPUT TYPE=HIDDEN tag value exactly as it is received, it doesn't encode carriage returns as P tags.. So when the page is sent to the save script, all the carriage returns seem to get stripped. The problem could be the same with Kfm.

In any case I managed to solve the problem by by adding a few simple lines of perl. At the end of the preview script i substituted any \r\n, \n\r, \r or \n (within $text to be saved in INPUT TYPE=HIDDEN) as %_CRLF_%. Then in the save script i substituted all %_CRLF_% into \r\n. I hope this information is useful to you, feel free to email me if I did not explain in enough detail.

-- AdamBurgess - 15 Jun 2000

Thanks Adam for pointing this out. Very probably that the kde kfm browser has the same problem. The TWiki core should be changed as you suggest. A small detail, use =%<nop%_G_ = instead of %_CRLF_% to bring it in line with the other escape sequences and to save space. (I set this to BugReport since the TWiki code has not been changed yet)

-- PeterThoeny - 20 Jun 2000

Fixed TWiki alpha and commited to CVS. I could not test this. Let me know if there are any problems.

-- PeterThoeny - 07 Jul 2000

This caused problems on windows. Please see WhyDoLinesComeOutDoubleSpaced


-- MartinCleaver - 22 Feb 2001

Oops, fix something on one side breaks something on the other side wink

Yes, needs to be investigated. Copied WhyDoLinesComeOutDoubleSpaced over from support.

-- PeterThoeny - 24 Feb 2001

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2001-02-24 - PeterThoeny
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.