Browse Source

MMO-12935:策划表格xml格式清理

wangyh 4 years ago
parent
commit
dfb840db4f
1 changed files with 1 additions and 2 deletions
  1. 1 2
      format_xml.sh

+ 1 - 2
format_xml.sh

@@ -38,6 +38,5 @@ done
 
 git diff  --name-only  HEAD 策划脚本| grep '\.xml$'|xargs sed -b -i \
     -e 's/ x:Family="[^"]*"//g' \
+    -e 's/ss:Data ss:Type="String" xmlns="http:[^"]*">\(.*\)<\/ss:Data>/Data ss:Type="String">\1<\/Data>/g' \
     -e '/^ *<Cell[ >].*<\/Cell>/s/ ss:StyleID="\w\+"//g' 
-
-    # -e 's/ss:Data ss:Type="String" xmlns="http:[^"]*"><Font html:Color="#\w\+">\(.*\)<\/Font><\/ss:/Data ss:Type="String">\1<\//g' \