Skip to content

normalize-space() example #11

@djbpitt

Description

@djbpitt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions