浏览代码

HUE-7112 [oozie] Do not escape characters in decision node condition

krish 8 年之前
父节点
当前提交
dc21298
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/oozie/src/oozie/templates/editor2/gen/workflow-decision.xml.mako

+ 1 - 1
apps/oozie/src/oozie/templates/editor2/gen/workflow-decision.xml.mako

@@ -20,7 +20,7 @@
           % for child in node['children']:
             % if child['condition'] != 'default':
             <case to="${ node_mapping[child['to']].name }">
-              ${ child['condition'] }
+              ${ child['condition'] | n }
             </case>
             % endif
           % endfor