1. 30 May, 2017 1 commit
  2. 30 Jun, 2016 1 commit
  3. 11 Apr, 2016 1 commit
    • Fix encoding of Django-called Mako files to be safe · 4f9f87c1
      The old code set the output-encoding to None, which means, I want
      Unicode strings as output.  This made Mako pass markupsafe objects to
      "unicode()", which applied all the escaping.  Then the result would be
      given to Django, would would html-escape it again, resulting in
      over-escaping.
      
      By setting the output-encoding to utf8, we use filters.encode.utf8
      instead, which is aware of Markupsafe, which avoids the over-escaping.
      Ned Batchelder committed
  4. 28 Jan, 2016 1 commit
    • Remove default django template loaders. · 434f1965
      Mako filesystem/app_directories loaders already wrap default django template loaders.
      
      Mako loaders delegate the `load_template_source` method to the base loader that
      they wrap, so there's no reason to explicitly include the two django loaders in the settings.
      Matjaz Gregoric committed
  5. 10 Nov, 2015 1 commit
  6. 23 Mar, 2015 1 commit
  7. 10 Nov, 2014 1 commit
  8. 03 Dec, 2013 1 commit
  9. 19 Jun, 2013 1 commit
  10. 04 Jun, 2013 1 commit
    • Specify UTF-8 encoding when loading Mako template · 64a85e19
      When loading a Mako template from a Django template, the file
      encoding of the Mako template was left unspecified. In some cases,
      this would cause the Mako template to be interpreted as an ASCII
      template, resulting in blowups if the template was encoded in
      UTF-8 (e.g., lms/templates/footer.html).
      
      Now, both the input and output encodings are specified as UTF-8.
      Nate Hardison committed
  11. 21 Feb, 2013 1 commit
  12. 06 Feb, 2013 1 commit
  13. 16 Aug, 2012 1 commit
  14. 13 Aug, 2012 1 commit
  15. 10 Aug, 2012 1 commit