Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9d3f349

Browse files
author
杨利兵
committed
resx不处理换行
1 parent d209056 commit 9d3f349

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/com/yanglb/utilitys/codegen/core/translator/impl/MsgCSTranslatorImpl.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ private String convert2CSCode(String value) {
8686
if(value == null) return null;
8787

8888
// 先替换\r\n,防止有文档只有\r或\n 后面再替换一次
89-
value = value.replaceAll("\r\n", "\\\\r\\\\n");
90-
value = value.replaceAll("\r", "\\\\r\\\\n");
91-
value = value.replaceAll("\n", "\\\\r\\\\n");
89+
// value = value.replaceAll("\r\n", "\\\\r\\\\n");
90+
// value = value.replaceAll("\r", "\\\\r\\\\n");
91+
// value = value.replaceAll("\n", "\\\\r\\\\n");
9292
return value;
9393
}
9494
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /