* bugfix: text not ending with a newline was not quoted correctly