Skip to content

CensorString fails to clean words in multi-line input #22

@kHackett

Description

@kHackett

In a multi-line textbox entry, words are missed if they are before or after a \r\n or \n.
Example: only the first word is censored

var output = profanityFilter.CensorString( "fuk fuk\r\nfuk fuk\nfuk", '#');

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