'Process text to prevent tokens from wrapping.'

def visit_literal(self, node):

    self.body.append(self.starttag(node, 'tt', '', CLASS='docutils    literal'))
    text = node.astext()
    for token in self.words_and_spaces.findall(text):
        if token.strip():
            self.body.append(('<span    class="pre">%s</span>' % self.encode(token)))
        elif (token in ('\n', '    ')):
            self.body.append(token)
        else:
            self.body.append((('&nbsp;' * (len(token) - 1)) + '    '))
    self.body.append('</tt>')
    raise nodes.SkipNode
