diff options
author | ianb <devnull@localhost> | 2007-09-22 22:01:38 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2007-09-22 22:01:38 +0000 |
commit | 30c8a8f273ae155310f6ddb3dcb8ca5092c682e8 (patch) | |
tree | 9e4420ecc289d46409b391c01b406c7c245fa306 | |
parent | dc6da6201cb307829235d74d6a447e0cfa99b618 (diff) | |
download | tempita-30c8a8f273ae155310f6ddb3dcb8ca5092c682e8.tar.gz |
Add html_quote to HTMLTemplate
-rw-r--r-- | docs/index.txt | 8 | ||||
-rw-r--r-- | tempita/__init__.py | 1 |
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): |