cocos2d/cocos2d-html5 — pull request #1252 by csaftoiu (2013-11-20 00:21:58+00:00)
Title: Infinite loop bug

This caused an infinite loop when I had a string along the lines of something like " Next ". This is the simple fix.