tinymce/tinymce — pull request #199 by dbellizzi (2013-05-28 23:15:37+00:00)
Title: Fix jQuery adapter to work with newer versions of jQuery

Newer jQuery returns true when asking if a text node matches the selector *, where previous versions did not. Internal tinyMCE DOMUtils returns false, as did prior versions of jQuery.

This causes removeFormat() to fail when it recurses over a text node because it tries to process it instead of skipping it.

Add a test case that tries to match * against a DOM node and a text node
Add a test suite that runs the tinyMCE DOMUtil jquery adapter tests against jQuery 1.8, which shows this bug