Skip to content

Big List of Naughty Strings filter for liquidless templates

License

Notifications You must be signed in to change notification settings

stepci/liquidless-naughtystrings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

liquidless-naughtystrings

Big List of Naughty Strings filter for liquidless templates

Get Started

Install the dependency from npm:

npm i liquidless-naughtystrings

Import the naughtystring filter

import { naughtystring } from 'liquidless-naughtystrings'

Usage

Example: Rendering a string

renderTemplate('{{ | naughtystring }}', {}, {
  filters: {
    naughtystring
  }
})

Outputs:

<a href="\xE1\x9A\x80javascript:javascript:alert(1)" id="fuzzelement1">test</a>

About

Big List of Naughty Strings filter for liquidless templates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published