From 30c8a8f273ae155310f6ddb3dcb8ca5092c682e8 Mon Sep 17 00:00:00 2001 From: ianb Date: Sat, 22 Sep 2007 22:01:38 +0000 Subject: Add html_quote to HTMLTemplate --- docs/index.txt | 8 ++++++++ tempita/__init__.py | 1 + 2 files changed, 9 insertions(+) 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): -- cgit v1.2.1