new HTML formatter using webkit
This commit is contained in:
parent
b6cbd074b2
commit
5bbe266c8c
10 changed files with 178 additions and 8 deletions
|
|
@ -36,3 +36,6 @@ class SimpleFormatter(IFormatter):
|
|||
|
||||
def format_dict(self, item):
|
||||
return self.field_separator.join(u'%s%s' % ((u'%s%s' % (k, self.key_value_separator) if self.display_keys else ''), v) for k, v in item.iteritems())
|
||||
|
||||
def set_header(self, string):
|
||||
print string.encode('utf-8')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue