]> Devi Nivas Git - chevron.git/commitdiff
Fixed html escaping on double quotes
authornoah morrison <noah@morrison.ph>
Mon, 10 Nov 2014 03:12:02 +0000 (22:12 -0500)
committernoah morrison <noah@morrison.ph>
Mon, 10 Nov 2014 03:12:02 +0000 (22:12 -0500)
I   am   an   moron

entei.py

index 1bdca1f4d79586a543e898f36c5161e238af129e..2c86ccc2faa35dad1c1249fcc9e296926d8e15f9 100755 (executable)
--- a/entei.py
+++ b/entei.py
@@ -172,7 +172,7 @@ def render(template, data, partials_path='.', partials_ext='mustache',
 
     def html_escape(string):
         html_codes = {
-            '"': '$quot;',
+            '"': '&quot;',
             '&': '&amp;',
             '<': '&lt;',
             '>': '&gt;',