summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/index.txt8
-rw-r--r--tempita/__init__.py1
2 files changed, 9 insertions, 0 deletions
diff --git a/docs/index.txt b/docs/index.txt
index d76c923..cde28e9 100644
--- a/docs/index.txt
+++ b/docs/index.txt
@@ -412,3 +412,11 @@ Still To Do
immediately put the output in the code. And then you get methods.
Is this going too far?
+News
+====
+
+svn trunk
+---------
+
+* Added ``html_quote`` to default functions provided in
+ ``HTMLTemplate``
diff --git a/tempita/__init__.py b/tempita/__init__.py
index bfc0d19..4860adb 100644
--- a/tempita/__init__.py
+++ b/tempita/__init__.py
@@ -374,6 +374,7 @@ class HTMLTemplate(Template):
html=html,
attr=attr,
url=url,
+ html_quote=html_quote,
))
def _repr(self, value, pos):