From 7e89b8577204bd4f0997f7483891b540729790cc Mon Sep 17 00:00:00 2001
From: daiao <358551898@qq.com>
Date: Mon, 16 Sep 2019 16:00:32 +0800
Subject: [PATCH] 1

---
 app/controllers/myshixuns_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/controllers/myshixuns_controller.rb b/app/controllers/myshixuns_controller.rb
index da3892c85..bf067b389 100644
--- a/app/controllers/myshixuns_controller.rb
+++ b/app/controllers/myshixuns_controller.rb
@@ -272,7 +272,7 @@ class MyshixunsController < ApplicationController
         # 远程版本库文件内容
         last_content = GitService.file_content(repo_path: @repo_path, path: path)["content"]
         content = if @myshixun.mirror_name.select {|a| a.include?("MachineLearning") || a.include?("Python")}.present? && params[:content].present?
-                    params[:content].gsub(/\t/, '    ').gsub(/ /, ' ')
+                    params[:content].gsub(/\t/, '    ').gsub(/ /, ' ') # 这个不是空格,在windows机器上带来的问题
                   else
                     params[:content]
                   end