view genshi/template/__init__.py @ 1029:7d4414a4a5d0 trunk

Support slash escaped of CRLF newlines (fixes #569; patch from tetsuya.morimoto@gmail.com).
author hodgestar
date Wed, 19 Mar 2014 13:40:47 +0000
parents 1da8de3e5e51
children 36089a8780c9
line wrap: on
line source
# -*- coding: utf-8 -*-
#
# Copyright (C) 2006-2007 Edgewall Software
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at http://genshi.edgewall.org/wiki/License.
#
# This software consists of voluntary contributions made by many
# individuals. For the exact contribution history, see the revision
# history and logs, available at http://genshi.edgewall.org/log/.

"""Implementation of the template engine."""

from genshi.template.base import Context, Template, TemplateError, \
                                 TemplateRuntimeError, TemplateSyntaxError, \
                                 BadDirectiveError
from genshi.template.loader import TemplateLoader, TemplateNotFound
from genshi.template.markup import MarkupTemplate
from genshi.template.text import TextTemplate, OldTextTemplate, NewTextTemplate

__docformat__ = 'restructuredtext en'
Copyright (C) 2012-2017 Edgewall Software