To participate you must create an account on apostrophenow.com. If you have already done so, click Login.

Ticket #500 (accepted defect)

Opened 7 weeks ago

Last modified 7 weeks ago

FCK and aHtml::simplify()

Reported by: johnnyoffline Owned by: tboutell
Priority: minor Milestone: 1.4.2
Component: apostrophePlugin Version: 1.4
Keywords: aHtml, Toolkit Cc: agilbert, boutell, jake, rickybanister, johnnyoffline, dordille, geoffd
Symfony version: 1.4

Description

Tom,

Can we get aHtml::simplify() to watch for and remove this specific scenario:

<element>&nbsp;</element>

Every single time I use FCK and hit return return delete delete type type type delete return, I am left with the above markup.

If I edited a heading the element will be an <Hx> tag.
Very often it's simply this:

<p>&nbsp;</p>

It creates accessibility issues according to webaim and it also just makes type layout look bad.

Change History

Changed 7 weeks ago by tboutell

  • owner changed from boutell to tboutell
  • status changed from new to accepted

FCK adds these because most of the browser rich text editors act completely crazy if you don't have this at the end of the document, btw. But stripping them out at save time should be possible yeah.

Note: See TracTickets for help on using tickets.