Skip to content

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

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", '#');

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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