Item12322: WysiwygPlugin should remove useless spans etc
Current State: Closed
Released In: 2.0.0
Target Release: major
I'm using an inline html wysiwyg editor that uses the html as we generate it
the topic div contains an extra bit
i recon it'd be worth noticing it and killing it
- 30 Dec 2012
Defer to 1.2.1.
- 01 Jun 2014
I can't accept deferral of this - I have to be able to properly clean the html, for other reasons.
The solution is to support ignoring spans that only have an ID, and I have that coded. the trick is to identify useless tags, and to do that we need to examine the attributes, and ignore any tags that only contain attributes that we don't want to keep - for example, the
, or maybe the
- otherwise those attributes block clean conversion of HTML to TML.
- 20 Jan 2015