\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.htmlI 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
%_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
Yes, needs to be investigated. Copied WhyDoLinesComeOutDoubleSpaced over from support.
-- PeterThoeny - 24 Feb 2001
| TopicClassification: | BugResolved |