commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phoenix384 <...@git.apache.org>
Subject [GitHub] commons-lang pull request #184: Correct replacing 160 in normalizeSpace
Date Thu, 25 Aug 2016 10:22:39 GMT
GitHub user phoenix384 opened a pull request:

    https://github.com/apache/commons-lang/pull/184

    Correct replacing 160 in normalizeSpace

    Normalizing spaces of a string containing a nbsp (160) followed by a regular whitespace
results in a string containing a double space character instead. You have to execute normalize-space()
twice to get a string with only single spaces.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/phoenix384/commons-lang patch-1

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-lang/pull/184.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #184
    
----
commit 09fd988b7f94a51c4bc73edf36bf809ac493c5bf
Author: phoenix384 <phoenix384@gmx.de>
Date:   2016-08-25T10:22:27Z

    Correct replacing 160 in normalizeSpace
    
    Normalizing spaces of a string containing a nbsp (160) followed by a regular whitespace
results in a string containing a double space character instead. You have to execute normalize-space()
twice to get a string with only single spaces.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message