using pexpect to automate adom; make nonbreaking spaces visible