Skip to content

Instantly share code, notes, and snippets.

@woodphil
Created March 15, 2016 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save woodphil/3965440abc57059302d2 to your computer and use it in GitHub Desktop.
Save woodphil/3965440abc57059302d2 to your computer and use it in GitHub Desktop.
dumping from python to mako requires careful attention to which quotes to use
var blah = '${ c.results_from_query | n}'
// | n filter returns them as raw unescaped string,
//take care that the string quotes are not the same as the value returned from the server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment