new HTML formatter using webkit

This commit is contained in:
Christophe Benz 2010-06-30 20:14:07 +02:00
commit 5bbe266c8c
10 changed files with 178 additions and 8 deletions

View file

@ -25,7 +25,7 @@ __all__ = ['formatters']
formatters = dict(
multiline=MultilineFormatter(),
simple=SimpleFormatter(),
)
)
try:
from .table import TableFormatter
@ -33,5 +33,12 @@ try:
table=TableFormatter(),
htmltable=TableFormatter(result_funcname='get_html_string'),
))
try:
from .webkitgtk import WebkitGtkFormatter
formatters.update(dict(
webkit=WebkitGtkFormatter(),
))
except ImportError:
pass
except ImportError:
pass