Skip to content

Standardisation does not work if the number contains non-breaking spaces #43

@andylaw

Description

@andylaw

I just had a bug report come in from one of my systems where the users were sure the NHS number was a genuine number because they "had copied the number from the NHS system screen". A brief debugging session later showed the presence of "\xa" non-breaking spaces.

We can fix this (possibly also emitting a warning?) by updating the standardise_format() method

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