Item10125: WysiwygPlugin eats newlines before anchors

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Extension WysiwygPlugin  
WysiwygPlugin does not preserve the newlines before #TmlAnchors in TML like this:
---++ Accepted
TBD
#ApprovedTerm
---++ Approved
... it changes to:
---++ Accepted
TBD #ApprovedTerm
---++ Approved

Here is a linux command for finding affected topics (run it in the data directory):
find . -name \*.txt -exec grep -Hn -e ' [#][A-Z]\+[a-z0-9]\+[A-Z]' *.txt \{\} \;

It may produce false positives, so check each topic it reports.

-- MichaelTempest - 06 Dec 2010

It seems that the Item2174 changes have fixed this on trunk. However, it is worth reporting this bug as fixed in the release notes of whatever release includes Item2174.

-- MichaelTempest - 06 Dec 2010

Yup - this is definitely working on trunk. -- MichaelTempest - 14 Jan 2011

Broken again on trunk.

-- GeorgeClark - 03 Apr 2012

This appears to have been fixed for 1.1.5. Missed closing this task.

-- GeorgeClark - 24 Apr 2012
 

ItemTemplate edit

Summary WysiwygPlugin eats newlines before anchors
ReportedBy MichaelTempest
Codebase 1.1.2, 1.1.1, 1.1.0, 1.1.0 beta1, 1.0.10, 1.0.9, 1.0.8, 1.0.7, 1.0.6
SVN Range
AppliesTo Extension
Component WysiwygPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins Foswikirev:14543 Foswikirev:14549
TargetRelease patch
ReleasedIn 1.1.5
CheckinsOnBranches Release01x01 trunk
trunkCheckins Foswikirev:14543
Release01x01Checkins Foswikirev:14549
Topic revision: r6 - 24 Apr 2012, GeorgeClark
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License