Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
If your database includes \r, \n... and you won't to add them into the document, we recommend you to remove them. For example using str_replace to clear '\r', '\n' and "\r", "\n"... to remove literal strings and carriage returns.