Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

normalize-space() example #11

Open
djbpitt opened this issue Jun 14, 2020 · 0 comments
Open

normalize-space() example #11

djbpitt opened this issue Jun 14, 2020 · 0 comments

Comments

@djbpitt
Copy link

djbpitt commented Jun 14, 2020

On p. 108, the isolated line of code intended to illustrate the normalize-space() function has a string argument that is already normalized, so the function output would be identical to the input. The paragraph at the top of the page gives an example of a string that would benefit from white-space normalization, but the argument to the illustrative line below that paragraph is the already-normalized version, and not the one with the extra spaces. That isn’t wrong, to be sure, but it doesn’t exemplify how the function can clean up messy whitespace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant