|
|
@@ -293,7 +293,7 @@ function writeSharedString(sharedStrList){
|
|
|
for (let i = 0; i < sharedStrList.length; i++) {
|
|
|
if (typeof sharedStrList[i] === 'string') {
|
|
|
//转换特殊字符,如 < , 则需要转义一下
|
|
|
- sharedStrList[i] = sharedStrList[i].replace(regExp, "<").replace(regExp1, '>').replace(regExp2, '&');
|
|
|
+ sharedStrList[i] = sharedStrList[i].replace(regExp2, '&').replace(regExp, "<").replace(regExp1, '>');
|
|
|
if (sharedStrList[i].indexOf('|') >= 0) {
|
|
|
//rst.push('<si><t>' + sharedStrList[i].split('|').join('\r\n') + '</t></si>');
|
|
|
// rst.push('<si><t>' + sharedStrList[i].split('|').join('\n') + '</t></si>');
|