[TYPO3-core] FYI: Fixed bug #11915: htmlArea RTE: superfluous span tags in content after server-based cleaning on paste operation

Stanislas Rolland typo3 at sjbr.ca
Tue Sep 15 18:25:50 CEST 2009


FYI: The attached SVN patch was committed.

Type:
Bugfix

Problem:
When server-based HTML cleaning is enabled, superfluous span tags may be 
found in the content after a paste operation.

Solution:
The problem arises when server-based cleaning is invoked on paste. In 
such case, intrusive bookmarks are inserted in the content in order to 
be able to restore the cursor position upon completion. The bookmarks 
are removed when the cursor position is restored.

However, cleaning is done asynchronously. Therefore, if multiple paste 
operations are done in a short lapse of time, inserted bookmarks from 
previous requests are resent to the server and cannot be removed on return.

The attached patch fixes the issue by making the cleaning request 
synchronous. As a result, if the server-based cleaning operation takes 
some time, the author may experience a delay before (s)he can perform 
another operation.

Bugtracker references:
http://bugs.typo3.org/view.php?id=11915

Branches:
trunk (revision 5929)
TYPO3_4-2 (revision 5930)

Regards,
Stanislas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_bugfix_11915_typo3_4-2.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090915/9809d538/attachment-0002.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_bugfix_11915_trunk.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090915/9809d538/attachment-0003.txt 


More information about the TYPO3-team-core mailing list