mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
修复xml CDATA里的换行被忽略的bug
This commit is contained in:
@@ -128,7 +128,7 @@ public class ParserHelper {
|
||||
name = e.attributeValue(NAME);
|
||||
clazz = e.attributeValue(_CLASS);
|
||||
type = e.attributeValue(TYPE);
|
||||
script = e.getTextTrim();
|
||||
script = e.getText();
|
||||
file = e.attributeValue(FILE);
|
||||
|
||||
// 构建 node
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
]]>
|
||||
</node>
|
||||
|
||||
<node id="s2" name="选择脚本" type="switch_script">
|
||||
<node id="s2" name="选择脚本" type="switch_script" language="groovy">
|
||||
<![CDATA[
|
||||
count = defaultContext.getData("count");
|
||||
if(count > 100){
|
||||
|
||||
Reference in New Issue
Block a user