Last active
September 2, 2019 21:11
-
-
Save ollyg/16680dba03c7a3d06646481c601f7502 to your computer and use it in GitHub Desktop.
search and fix unescaped TT variables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# find files | |
g grep -cP "% [a-z][a-z._\(\/\)']+ %" share/views/ | |
# vim command | |
.,$s:\(% \l[a-z._('/)]\+\) %:\1 | hmtl_entity %:cgI |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment