Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save philippeowagner/7f52ebdd555bc26e0643e550c2eece1b to your computer and use it in GitHub Desktop.
Save philippeowagner/7f52ebdd555bc26e0643e550c2eece1b to your computer and use it in GitHub Desktop.
Replaces {% url something %} with {% url "something" %}
find . -name "*.html" -print0 | xargs -0 sed -i "" 's/ url \([^" >][^ >]*\)/ url "\1"/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment