We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 168771f commit 2d4d38fCopy full SHA for 2d4d38f
1 file changed
doc/_ext/scenario_directive.py
@@ -21,6 +21,7 @@
21
22
"""
23
24
+import html
25
import os
26
import re
27
from typing import Tuple
@@ -81,7 +82,7 @@ def run(self):
81
82
.. raw:: html
83
84
<details>
- <summary><strong>Example</strong>: {scenario_title}</summary>
85
+ <summary><strong>Example</strong>: {html.escape(scenario_title)}</summary>
86
87
.. literalinclude:: {feature_file}
88
:language: gherkin
0 commit comments