'Two nodes for which `needs_space` is true need auxiliary space.'

def needs_space(self, node):

    return ((isinstance(node, nodes.Body) or isinstance(node, nodes.topic)) and (not (self.is_invisible(node) or isinstance(node.parent, nodes.TextElement))))
