Created attachment 25703 [details] fix isSpace (deprecated) => isWhiteSpace As the subject says
Check the archives. This has come up before. isSpace() has the behaviour required, isWhiteSpace() does not.
In that case, may I suggest the following patch to document this for future maintainers?
Created attachment 25704 [details] Document why still using deprecated method
Fixed in trunk. Will be in 7.0.1 onwards.