doc: empty end line removal