Text.Parser: %s/\s\+$// on doc