Item8475: Foswiki introduces errant spaces into table cells

pencil
Priority: Low
Current State: Confirmed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: WysiwygPlugin
Branches:
Reported By: MartinCleaver
Waiting For:
Last Change By: CrawfordCurrie
|col|col|col|
| spacecol | spacecol | spacecol |

Looks like this:
col col col
spacecol spacecol spacecol

If you look at the HTML it will says something like:

   <tbody>
      <tr class="foswikiTableOdd foswikiTableRowdataBgSorted0 foswikiTableRowdataBg0">
         <td bgcolor="#ffffff" valign="top" class="foswikiTableCol0 foswikiFirstCol"> col </td>
         <td bgcolor="#ffffff" valign="top" class="foswikiTableCol1"> col </td>
         <td bgcolor="#ffffff" valign="top" class="foswikiTableCol2 foswikiLastCol"> col </td>
      </tr>
      <tr class="foswikiTableEven foswikiTableRowdataBgSorted1 foswikiTableRowdataBg1">
         <td bgcolor="#edf4f9" valign="top" class="foswikiTableCol0 foswikiFirstCol foswikiLast"> spacecol </td>
         <td bgcolor="#edf4f9" valign="top" class="foswikiTableCol1 foswikiLast"> spacecol </td>
         <td bgcolor="#edf4f9" valign="top" class="foswikiTableCol2 foswikiLastCol foswikiLast"> spacecol </td>
      </tr>
   </tbody>

If you look at the first block it shows a space either side of each
> col <

This messes with pasting into other applications.

-- MartinCleaver - 07 Feb 2010

Set to WysiwygPlugin. This is nothing to do with Engine, AFAICT.

Confirmed

-- PaulHarvey - 07 Feb 2010

There is nothing wrong with the plugin's behaviour, it is producing valid HTML. Without more information about what other applications are being pasted to, it is impossible to be more precise, and I don't consider this worth addressing. Reprioritised from "Normal" to "Low".

-- Main.CrawfordCurrie - 28 Mar 2017 - 09:07

 

ItemTemplate edit

Summary Foswiki introduces errant spaces into table cells
ReportedBy MartinCleaver
Codebase 1.0.9, trunk
SVN Range
AppliesTo Extension
Component WysiwygPlugin
Priority Low
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r4 - 28 Mar 2017, CrawfordCurrie - This page was cached on 21 Sep 2017 - 20:46.

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