spmjs / spm2

源码已合并到
https://github.com/spmjs/spm/tree/2.x
Other
126 stars 26 forks source link

spm-build最新版本能否正常识别tpl文件中的"\"" #119

Open f0x11 opened 10 years ago

f0x11 commented 10 years ago

目前使用的2.1.12,不能正常识别

popomore commented 10 years ago

识别 \" 这个是什么意思

f0x11 commented 10 years ago

如果tpl文件中有“\"”,如a.tpl里有: (左尖括号)input value="(\"我的值\")"(右尖括号)

spm-build打包错误

popomore commented 10 years ago

不知道报错内容是什么,编译 tpl 应该是当作字符串操作的,而且你应该不需要转义。