This is an automated email from the ASF dual-hosted git repository.

exceptionfactory pushed a commit to branch support/nifi-1.x
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/support/nifi-1.x by this push:
     new 153c87a7da NIFI-13675 Fixed Tooltip for Parameter Description (#9195)
153c87a7da is described below

commit 153c87a7daaeebea9b119066285b840ea4056e09
Author: Pierre Villard <[email protected]>
AuthorDate: Sun Aug 25 05:24:28 2024 +0200

    NIFI-13675 Fixed Tooltip for Parameter Description (#9195)
    
    Signed-off-by: David Handermann <[email protected]>
---
 .../nifi-web-ui/src/main/webapp/js/nf/canvas/nf-parameter-contexts.js   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-parameter-contexts.js
 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-parameter-contexts.js
index 5a491201fe..e1c1de0ee6 100644
--- 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-parameter-contexts.js
+++ 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-parameter-contexts.js
@@ -2194,7 +2194,7 @@
                     infoIcon.qtip($.extend({},
                         nfCommon.config.tooltipConfig,
                         {
-                            content: parameter.description
+                            content: nfCommon.escapeHtml(parameter.description)
                         }));
                 }
             }

Reply via email to