From 6b659da121f74f24cfcdc7f673a5fa23a45eb995 Mon Sep 17 00:00:00 2001 From: Bensong Liu <bensl@microsoft.com> Date: Tue, 20 Oct 2020 17:41:35 +0800 Subject: [PATCH] allow explicit argument and ignore argument --- activity.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activity.hpp b/activity.hpp index 2bcfcae..3b0d343 100644 --- a/activity.hpp +++ b/activity.hpp @@ -76,7 +76,7 @@ namespace CIS { } xamlCode.replace("__TEMPLATE_ARG_TypeName", argType); - xamlCode.replace_once("__TEMPLATE_ARG_TypeValue", argValue); + xamlCode.replace_once("__TEMPLATE_ARG_TypeValue", Utility::HtmlEscapeString(argValue)); xamlCode.replace_once("__TEMPLATE_ARG_ClassName", this->className); xamlCode.replace_once("__TEMPLATE_ARG_DisplayName", this->displayName); xamlCode.replace_once("__TEMPLATE_ARG_TaskId", this->taskId); -- GitLab