Vigyata.AI
Is this your channel?
GithubGithubHTML purify package

HTML purify package

This is the package I used for the practical fix when you still want to allow some HTML formatting. With Purify::clean (or model casting), it strips the script tags away while keeping safe markup like bold/paragraphs.

Buy on Github

You'll be taken to Github to complete your purchase.

Pros

  • +Removes script tags and other dangerous HTML
  • +Works well when you need to allow limited HTML
  • +Can be applied via model casting so you don’t forget it

Cons

  • -Requires installing and maintaining a third-party package

Featured in 7 videos