You are here: Foswiki>Tasks Web>Item14638 (13 Jun 2018, GeorgeClark)Edit Attach

Item14638: TML-HTML roundtrip kills empty table headers

pencil
Priority: Normal
Current State: Confirmed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: WysiwygPlugin
Branches: master Item14288
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
 
Topic revision: r5 - 13 Jun 2018, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy