Skip to content

Can't create cover, containing non-English words #19

Description

@YoungTeurus

The problem part is:

const valid = secret && (DontUseCover || (cover && /\w \w/.test(cover)));

\w \w Regex doesn't match non-English symbols (and also words splitted with 2 spaces):
image
How about changing in to .( )+., so it was those two symbols separated by any count of spaces?
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions