email2vimalraj / CucumberExtentReporter

A plugin to generate the cucumber jvm custom html report using ExtentsReport
http://www.vimalselvam.com/cucumber-extent-reporter/
MIT License
58 stars 74 forks source link

Scenario and Scenario-Outline description content <Text> angle brackets are causes extent report loading issues #119

Open manjunp opened 4 years ago

manjunp commented 4 years ago

Currently, if Steps description contains the angle brackets (< & >), then those are replaced with &lt and &gt in ExtentCucumberAdapter (we are using version 1.0.10)

image

But if Scenario and Scenario-Outline description contain angle brackets (< & >), extent report is partially loading and dashboard and clickable items are not working properly. We found that it is causing issues due to unclosed HTML angle brackets (< & >) tags that are used in Scenario and Scenario-Outline descriptions.

Would it be possible to convert/replace the angle brackets (< & >) with &lt and &gt for Scenario and Scenario-Outline description content as well?

Maybe, following highlighted code segment to be updated with replacing the angle brackets.

image

We would really appreciate it if you could accommodate this in the next upcoming release. Thanks in advance.