"""
Processor that encloses the processed text in blockquote tags

Version: 0.1.1 (2005-11-08)

History:
v0.1.1	WikiFormatting in blockquoted text now properly handled 
v0.1.0	First public release

Yes, smile about it, it's my first experience in Python hacking :-)
"""

from trac.wiki import wiki_to_html

def execute(hdf, text, env):
    return '<blockquote>%s</blockquote>' % wiki_to_html(text, env, hdf, env.get_db_cnx())
