joomla/joomla-platform — pull request #1705 by mariopro (2012-11-19 10:37:33+00:00)
Title: Clean any white spaces and/or tabs

Tabs that may result from manifest source formatting after the translation element
in COM_COMPONENT_SUBMENUNAME result in invisible bugs as the translation element is saved to the #__menu table with the tabs/white spaces.
Translation will not be done and the alias will be used by the system to build the menu or submenu.
Hard to debug, since white spaces and tabs are invisible in database.
Suggestion is to trim both $menuElement and $child in the _buildAdminMenus method to avoid this issue.