Tags:
create new tag
view all tags

Bug: Line oriented syntax breaks if plugins return extra lines in outsidePREHandler hook

Some of the TWiki syntax like bullets or headings is line oriented. TWiki::getRenderedVersion does that rendering.

Plugins might introduce extra lines in the outsidePREHandler hook. This results in breaking the line oriented syntax. This actually happens with the newly introduced Plugins.TablePlugin in case there is a bullet following a table.

Test case

  • Install the TablePlugin
  • Make a bullet immediately after a table

Fix record

In TWiki::getRenderedVersion make extra loop if there are new lines after the outsidePREHandler hook.

Fixed and in TWikiAlphaRelease.

Environment

TWiki version: 01 Sep 2001
TWiki plugins: Plugins.TablePlugin
Server OS: N/A
Web server: N/A
Perl version: N/A
Client OS: N/A
Web Browser: N/A

-- PeterThoeny - 16 Nov 2001

Topic revision: r1 - 2001-11-16 - 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.