summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorianb <devnull@localhost>2007-09-22 22:01:38 +0000
committerianb <devnull@localhost>2007-09-22 22:01:38 +0000
commit30c8a8f273ae155310f6ddb3dcb8ca5092c682e8 (patch)
tree9e4420ecc289d46409b391c01b406c7c245fa306
parentdc6da6201cb307829235d74d6a447e0cfa99b618 (diff)
downloadtempita-30c8a8f273ae155310f6ddb3dcb8ca5092c682e8.tar.gz
Add html_quote to HTMLTemplate
-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):