Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
We create a knowledge base to make the user can easily yo find out an alert solution, then we want to link the knowledge base URL with Ambari alter Instance Response dialog content. But the Instance Response dialog content js code replace the <> with <>, so we want to not replace the <>, the easy way it use Handlebars.SafeString to make the string is safe string, so the js will not replace the <>. here is 2 scenarios
1. Want to super link, so user can add string like "<a href="...">aaa</a>" in his alert py
2. Did not use super link but the Instance Response dialog content include the <>, user can add a string like "<aaaaaa>" in his alert py scripts.
Anyone can help improve this fix? Thanks a lot!