made sure it was possible to preserve nodes that directly contain text
modified the docstring of the indent function
version