Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML elements in feature description are not included #354

Open
mpkorstanje opened this issue Jul 18, 2024 · 0 comments
Open

HTML elements in feature description are not included #354

mpkorstanje opened this issue Jul 18, 2024 · 0 comments
Labels

Comments

@mpkorstanje
Copy link
Contributor

👓 What did you see?

Feature: Belly

  Header text

  </script><script>alert('hello')</script>

  Footer text

  Scenario: a few cukes "</script><script>alert('hello')</script>"
    Given I have 42 cukes in my belly
    When I wait 1 hour
    Then my belly should growl

Note that the first </script><script>alert('hello')</script> from the feature description is not included, the second is.

image

✅ What did you expect to see?

All html elements should be included, rendered as text.

📦 Which tool/library version are you using?

cucumber-html v21.4.1

This is important, because without cucumber/html-formatter#312 the report will not render at all.

🔬 How could we reproduce it?

No response

📚 Any additional context?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant