Skip to content

Conversation

@VincentGau
Copy link
Contributor

Fix the cleanInput() function to prevent input from having injected markup.

The kind of change this PR does introduce

  • a bug fix
  • a new feature
  • an update to the documentation
  • a code change that improves performance
  • other

Current behaviour

the function returns exactly the same input.

New behaviour

prvents injected markup

Other information (e.g. related issues)

Fix the cleanInput() function to prevent input from having injected markup.
@j-f1
Copy link

j-f1 commented Jun 23, 2017

I think you want .text(input).html().

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants