Tags:
create new tag
, view all tags

Bug: Leading Whitespace lost

Im having a problem with either:

  • Loss of leading whitespace in topics when editing them and/or
  • Rendering of twiki builtins broken when the first line of a topic

Scenario 1

If a topic contains the following when I save it

-----START-----

---+++ Heading
...
----- END -----

but the next time I go to edit it contains the following. (Notice the leading return is missing)

-----START-----
---+++ Heading
...
----- END -----

Scenario 2

If a topic contains the following when I save it

-----START-----

---+++ Heading
...
----- END -----

The Heading gets rendered correctly on view, namely its got the bold formatting etc.

but if a topic contains the following when I save it

-----START-----
---+++ Heading
...
----- END -----

The Heading does not get rendered correctly on view, namely its missing the bold formatting etc

Test case

Environment

TWiki version: Feb2003
TWiki plugins: Lots of them
Server OS: Linux
Web server: Apache
Perl version: 5.6.1
Client OS:  
Web Browser:  

-- JohnCavanaugh - 25 Mar 2003

Follow up

  • Forget it, I found the problem, it was with one of the plugins.

Fix record

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2003-03-26 - 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.