NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

Item11477: Renderer confused by multi-line pre blocks ending on lines where another pre block starts

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Confirmed Engine FoswikiRender  
With EditChapterPlugin 4.20 on Foswiki 1.1.3, editing chapter 1 below brings up chapters 1 & 2. Editing chapter 2 brings up nothing. This seems similar to something I encountered with MediaWikiToFoswikiContrib, with multi-line nowiki inside a block prefixed with spaces (see Item11218).

Chapter 1

multi-line pre block 1
pre block 2

Chapter 2

-- JayenAshar - 28 Jan 2012

That's an error in the core's takeOutBlocks which EditChapterPlugin makes use of. It seems as if the block boundaries aren't respected correctly, which then results in EditChapterPlugin to miscount chapters.

This error manifests itself only in a state when blocks have been taken out but haven't been put back yet. The renderer itself does fine after putting back the pre blocks.

-- MichaelDaum - 16 Apr 2012

Not urgent, and not new. Deferring to 1.2.

-- GeorgeClark - 02 Nov 2012
 

ItemTemplate edit

Summary Renderer confused by multi-line pre blocks ending on lines where another pre block starts
ReportedBy JayenAshar
Codebase 1.1.5, 1.1.3, trunk
SVN Range
AppliesTo Engine
Component FoswikiRender
Priority Normal
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease minor
ReleasedIn 1.2.0
CheckinsOnBranches
trunkCheckins
Release01x01Checkins
Topic revision: r3 - 02 Nov 2012, GeorgeClark
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads