Tags:
create new tag
view all tags
Moved from AskQuestionsTopicForCodev on behalf of RandyKramer

-- DavidLeBlanc - 30 Jul 2001

David,

You might be able to help me with this: I've found that while editing using konqueror (2.1), certain editing operations seem to add extra blank lines at the end of a topic. (I don't know if adding extra blank lines is strictly a feature of konqueror or if it occurs with other browsers as well -- most browsers seem to ignore extra vertical whitespace so it is only a display problem in konqueror, AFAICT. I have no idea (so far) which editing operations add the extra blank lines. It may be that this happens only on my (home) installation of the 20010315 beta -- I don't edit or view twiki.org very often with konqueror.)

At some point, I want to find the code that saves a topic, do a check for blank lines, and delete some or all of them. It sounds like you may come across this in your journey. If you do, I'd appreciate a pointer (or, if it is a real bug, fix it). (I can spell Pea^hrl, but not much more -- if I fix this it would initially only be for my own TWiki sites, then I'd offer a suggested fix to one of the core developer's -- I think anything I offer to the TWiki core should be vetted by a core developer, at least until I feel more comfortable.)

Thanks!

-- RandyKramer - 24 Jul 2001

Randy i'm not sure I can be much help with this. I am not familiar with konqueror and I think anyone would need to know which editing operations cause the extra blank lines. This could be an artifact of the text edit box (control) in konqueror - that's only "ordered" by TWiki, but it's your browser that supplies the actual code for it. In any case, if you've got some programming sku^hills ;-), take a look at getRenderedVersion in TWiki.pm. TWiki's perl isn't at the abstract hiroglyphics level that some perl code is, and there are many perl resources on the net: http://www.perl.org and http://www.perldoc.org are good places to start.

-- DavidLeBlanc - 24 Jul 2001

You might also want to try submitting this as a bug Randy.

-- DavidLeBlanc - 30 Jul 2001

David,

Thanks for starting this page, and thanks for your comments.

I'll take a look at getRenderedVersion in the next weeks. (That's a good clue, and should narrow down my area to search quite a bit.) (I'm sorta of eager to see the next release, and decide whether I can easily upgrade, or I spend another several months getting to the point I'm at now (a lot of which was because I was trying to learn Linux and many related things at the same time).)

With respect to a bug, I guess I need to do some more investigation, then decide whether it is a TWiki or a konqueror bug. (I like konqueror's behavior of allowing me to insert extra vertical white space and showing it, but, AFAICT, it's not standard browser behavior. (Other browsers that I've used reduce multiple lines of vertical whitespace to a single line.) I'll probably wait and see what the story is with konqueror 2.2.)

-- RandyKramer - 31 Jul 2001

TopicClassification:
TWikiDevQuestion
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2001-07-31 - RandyKramer
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.