修复标题带换行符问题

This commit is contained in:
jaywcjlove 2017-09-06 19:39:38 +08:00
parent 18f32c92b2
commit 04cc41079d
1 changed files with 1 additions and 0 deletions

View File

@ -266,6 +266,7 @@ function CreateDatajs(dt_path,callback){
var title = str.match(/[^===]+(?=[===])/g);
title = title[0]?title[0].replace(/\n/g,''):title[0];
title = title.replace(/\r/,'')
// 命令名称
json["n"] = title;
// 命令路径