New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
You are here: Foswiki>Tasks Web>Item14638 (04 Mar 2018, GeorgeClark)Edit Attach

Item14638: TML-HTML roundtrip kills empty table headers

Priority: Normal
Current State: Confirmed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: WysiwygPlugin
Branches: master
Reported By: OliverKrueger
Waiting For:
Last Change By: GeorgeClark
An empty table header cell does not survive the tml-html-roundtrip.

| ** |

is mangled to

| |

IRC discussion.

-- OliverKrueger - 24 Feb 2018

Marking this confirmed, in that a cell containing the string "**" renders to
<tr><th>  </th></tr>
I don't think it should render as a header cell, as it doesn't contain a bold string. But the asterisks should not get consumed either.

-- GeorgeClark - 24 Feb 2018

master has the same behaviour.
  • Cell containing two asterisks is initially rendered as a header
  • Roundtrip through Wysiwyg changes to an empty cell.
  • <nop> survives the roundtrip.

master (upcoming 2.2.0) has had a lot of work on table handling in WysiwygPlugin, but this isn't changed. Suggested solution:
  • A table cell with ** should not be a header, and t
  • Two ** should survive the round trip
  • Document the *<nop>* as a solution, or invent/document a better way to create empty header cells.

-- GeorgeClark - 25 Feb 2018

ItemTemplate edit

Summary TML-HTML roundtrip kills empty table headers
ReportedBy OliverKrueger
Codebase 2.1.5, trunk
SVN Range
AppliesTo Extension
Component WysiwygPlugin
Priority Normal
CurrentState Confirmed
Checkins distro:83c28bd8cf10
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches master
masterCheckins distro:83c28bd8cf10
Topic revision: r4 - 04 Mar 2018, GeorgeClark - This page was cached on 22 Mar 2018 - 12:20.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License