Skip to content

Commit acf0893

Browse files
authored
Properly escape string property inputs (#3048)
Signed-off-by: Patrick Titzler <[email protected]>
1 parent 66ce5e3 commit acf0893

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

elyra/templates/kubeflow/v1/python_dsl_template.jinja2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def generated_pipeline(
3838
{% elif task_input_spec.pipeline_parameter_reference %}
3939
{{ task_input_name }}={{ task_input_spec.pipeline_parameter_reference }},
4040
{% elif task_input_spec.requires_quoted_rendering %}
41-
{{ task_input_name }}="{{ task_input_spec.value }}",
41+
{{ task_input_name }}="""{{ task_input_spec.value | string_delimiter_safe }}""",
4242
{% else %}
4343
{{ task_input_name }}={{ task_input_spec.value }},
4444
{% endif %}

0 commit comments

Comments
 (0)