mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
fixes stoud formats unicode problem
This commit is contained in:
parent
57778eb429
commit
b01c2d2ad1
@ -2,7 +2,7 @@ Local versions of third-party packages required by Tower. Package names and
|
||||
versions are listed below, along with notes on which files are included.
|
||||
|
||||
amqp==1.4.5 (amqp/*)
|
||||
ansiconv==1.0.0 (ansiconv.py)
|
||||
ansiconv==1.0.0 (ansiconv.py, small fix, generate unicode html)
|
||||
anyjson==0.3.3 (anyjson/*)
|
||||
apache-libcloud==0.15.1 (libcloud/*)
|
||||
argparse==1.2.1 (argparse.py, needed for Python 2.6 support)
|
||||
|
||||
@ -122,6 +122,7 @@ def _block_to_html(text):
|
||||
classes.append('ansi{0}'.format(code))
|
||||
|
||||
if classes:
|
||||
text = '<span class="{0}">{1}</span>'.format(' '.join(classes), text)
|
||||
text = u'<span class="{0}">{1}</span>'.format(' '.join(classes), text)
|
||||
|
||||
return command, text
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user