j - Liquid Filter Reference - 0.11.5
Filter Name | j |
Group | Text |
Version | 0.11.5 |
Description
Escapes carriage returns and single and double quotes for JavaScript segments.
Examples
{{ "Click 'Add to Cart' when you're ready to purchase" | j }}
Click \'Add to Cart\' when you\'re ready to purchase
{{ "Nothing to see here" | j }}
Nothing to see here
Back to Liquid Reference for 0.11.5
Back to Documentation