Question #696153 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696153

    Status: Open => Answered

RaiMan proposed the following answer:
ok, that is HTML behaviour: multiple blanks are collapsed to one blank.
Sorry, did not realise it.

so:
newItems = ["<html><font face='monospaced'>" + item.replace(" ", "&nbsp;")  for 
item in items]

the HTML-constant &nbsp; will be respected and finally result in a
blank.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to