Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

About:

Convert all applicable characters to HTML entities.


Usage:

{exp:jsencode:string}Nothing to escape{/exp:jsencode:string}
=> Nothing to escape

{exp:jsencode:string}/image/bridge.jpg{/exp:jsencode:string}
=> \/image\/bridge.jpg

{exp:jsencode:string}He said, "That's not true."{/exp:jsencode:string}
=> He said, \"That's not true.\"

Changelog:

Version 1.0.0
2013/02/01: Initial public release.

About

An ExpressionEngine add-on for ensuring the output of something is JSON-ready

Resources

Stars

1 star

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages