torifat/cake-menu_builder — pull request #18 by redd (2014-08-13 18:16:00+00:00)
Title: Clear link's title attribute wih undesirable characters.

Small fix to link title attribute that clears this attribute from undesirable characters. This is useful for eg. when you're using links with HTML entities in their name or you try to use icon for libs like Font Awesome (check examples: http://fortawesome.github.io/Font-Awesome/examples/).

This fix strip HTML tags, decode entities and remove unnecessary whitespaces (especially non-breaking spaces).

Important: it only strips from this yellow popup (title attribute link of ``) not from the link text itself!