long remediation steps containing html tag is causing problem

long remediation steps containing html tag is causing problem
0

Installed Indeni packages:

indeni-collector 6.0.60.3.297-HF

indeni-ds 6.0.50.173

indeni-server 6.0.60.3.297-HF

indeni-tools 1.0.1.40


without using html tag the alert works fine.


with html tag, the following rediation steps kills it. The alert pops up but not clickable and can't show anything. Below is the long remediation steps. Starting from hightlighted "|6" line seems to be causing the problem. I intentinally duplicated the "|5" line to "|6" to provde it is not how "|6" is written.


ConditionalRemediationSteps.VENDOR_FORTINET ->
"""
|1. Login via ssh to the Fortinet firewall and execute the FortiOS “get system fortiguard-service status” and “diag autoupdate versions” commands to list current update package versions and license expiry status.


|2. Login via https to the Fortinet firewall and go to the menu System > Dashboard > Status to locate the License Information widget. All subscribed services should have a green checkmark, indicating that connections are successful. A gray X indicates that the FortiGate unit cannot connect to the FortiGuard network, or that the FortiGate unit is not registered. A red X indicates that the FortiGate unit was able to connect but that a subscription has expired or has not been activated.


|3. Login via https to the Fortinet firewall to view the FortiGuard connection status by going to System > Config > FortiGuard menu.


|4. Purchase additional licenses if are needed.


|5. Consider enabling the alert email setting to the Fortinet firewall in order to receive an alert email prior to FortiGuard license expiration (notification date range: 1 - 100 days). The current alert email status can be provided with the next command: “get alertemail setting”. More details can be found <a target="_blank" href="https://docs.fortinet.com/uploaded/files/2798/fortigate-cli-ref-54.pdf">here</a>.


|6. Consider enabling the alert email setting to the Fortinet firewall in order to receive an alert email prior to FortiGuard license expiration (notification date range: 1 - 100 days). The current alert email status can be provided with the next command: “get alertemail setting”. More details can be found <a target="_blank" href="https://docs.fortinet.com/uploaded/files/2798/fortigate-cli-ref-54.pdf">here</a>.


|7. Contact Fortinet Technical support.""".stripMargin



This issue is related to how many html tags enclosed link are used in the multi line string, 1 is ok but 2 will have trouble; not necessarily related to how long the remediation step is. For example, this one will have problem:

ConditionalRemediationSteps.VENDOR_FORTINET ->
"""1. Login via https to the Fortinet firewall and then go to the menu Network> DNS to review the DNS configuration.
|test <a target="_blank" href="https://www.juniper.net/documentation/en_US/junos/topics/concept/secuity-vpn-monitoring-understanding.html">Understanding VPN Monitoring</a>
|test <a target="_blank" href="https://www.juniper.net/documentation/en_US/junos/topics/concept/secuity-vpn-monitoring-understanding.html">Understanding VPN Monitoring</a>
|6. For more information""".stripMargin


The symptom is: the alert will pop up but it is unclickable nor showing anything.

Thanks JZ, we will take a look and update