Leemoonsoo commented on a change in pull request #3302: [ZEPPELIN-3988] 
Paragraph Text output includes \r\n is not displayed correctly.
URL: https://github.com/apache/zeppelin/pull/3302#discussion_r253344719
 
 

 ##########
 File path: zeppelin-web/src/app/notebook/paragraph/result/result.js
 ##########
 @@ -0,0 +1,9 @@
+export default class Result {
+  constructor(data) {
+    this.data = data;
+  }
+
+  checkAndReplaceCarriageReturn() {
+    return this.data.replace(/(\r\n)/gm, '\n');
 
 Review comment:
   @zjffdu I checked https://github.com/apache/zeppelin/pull/2729/. And i'm not 
sure just replacing `\r\n` to `\n` will be okay or not. Could you review?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to