• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7700 for generic doc work for TWiki-6.0.2. Use View topic Item7703 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item5076: Eating newlines destroys TML

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension WysiwygPlugin Normal Closed   major  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

See test case at TestCaseItem5076 (original rev 1, raw rev 1, broken rev 2, raw rev 2)
  • Create topic with HTML table in raw edit mode
  • In each cell add a ---++ H2 heading and a few bullets
  • save topic
  • re-edit topic with WYSIWYG editor
  • add a bullet to any bullet list
  • save topic (forcing a new topic rev)
  • The ---++ TML is shown verbatim because newlines before and after HTML table are eaten

-- TWiki:Main/PeterThoeny - 04 Dec 2007

Reassigned to WysiwygPlugin, and reset to New as it doesn't look like an Engine bug.

CC

I have the same behavior, with only WYSIWYG editing, no raw edit: In Wysiwyg+Tinymce

  • create a table
  • in a cell type a word, put it in heading2 style with top left menu
  • return, type a word, put it in bullet style
  • save. The header is rendered as ---++

-- TWiki:Main.ColasNahaboo - 13 Dec 2007

---++ Argh
  • Ergh
 
   

Confirmed.

-- CrawfordCurrie - 14 Dec 2007


Fingers crossed the fix didn't break something else. The tests all pass.

CC

ItemTemplate
Summary Eating newlines destroys TML
ReportedBy TWiki:Main.PeterThoeny
Codebase ~twiki4
SVN Range TWiki-4.3.0, Sun, 25 Nov 2007, build 15790
AppliesTo Extension
Component WysiwygPlugin
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:16059 TWikirev:16060 TWikirev:16061 TWikirev:16062
TargetRelease major
ReleasedIn

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2007-12-19 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback