Skip to content

doesCodePointNeedEscaping: code is NOT working #6

@MFeldtmann

Description

@MFeldtmann

This is the source code I found:

doesCodePointNeedEscaping: code
code < 32 ifTrue: [ ^ true ].
( code = 34 or: [ code = 92 ]) ifTrue: [ ^ true ].
^ asciiOnly and: [ code > 126 ]

It should look like:

doesCodePointNeedEscaping: code
code < 32 ifTrue: [ ^ true ].
( code = 34 or: [ code = 92 ]) ifTrue: [ ^ true ].
^ asciiOnly not and: [ code > 126 ]

but the whole asciiOnly attribute is rubbish .....

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