Ticket #9085 (confirmed Bug)

Opened 11 months ago

Last modified 11 months ago

<span class="Apple-tab-span"> remove

Reported by: yiminghe Owned by:
Priority: Normal Milestone:
Component: Core : Pasting Version: 3.0
Keywords: Safari Cc:

Description

Webkit-based browser generates

<span class='Apple-tab-span' style='whitespace:pre'>         </span>

to show tab effect when pasted from somewhere(outlook).

Since ck will collapse extra whitespace except pre, it leaves:

<span class='Apple-tab-span' style='whitespace:pre'> </span>

So there is no reason keeping this span. see attachment patch.

Attachments

apple-tab-span.patch (430 bytes) - added by yiminghe 11 months ago.
9085.patch (532 bytes) - added by j.swiderski 11 months ago.

Change History

Changed 11 months ago by yiminghe

comment:1 Changed 11 months ago by j.swiderski

  • Keywords Safari added; apple-tab-span removed
  • Status changed from new to confirmed
  • Version changed from 3.6.4 (SVN - trunk) to 3.0

We had similar issue already #4876 but this one treats about removing not needed garbage. I know it won't be an issue in v4 of the editor but IMO we could also do it for v3 with the patch provided by @yiminghe.

Changed 11 months ago by j.swiderski

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy