j - Liquid Filter Reference - 0.10.11
Filter Name | j |
Group | Text |
Version | 0.10.11 |
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.10.11
Back to Documentation