Skip to content

Commit 67ec0e0

Browse files
authored
Jira Template: Do not HTML encode before shipping to jira (#11640)
1 parent 06596fc commit 67ec0e0

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

dojo/templates/issue-trackers/jira_full/jira-description.tpl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,26 +72,26 @@
7272
{% endif %}
7373

7474
*Description*:
75-
{{ finding.description }}
75+
{{ finding.description|safe }}
7676

7777
{% if finding.mitigation %}
7878
*Mitigation*:
79-
{{ finding.mitigation }}
79+
{{ finding.mitigation|safe }}
8080
{% endif %}
8181

82-
{% if finding.impact %}
82+
{% if finding.impact|safe %}
8383
*Impact*:
8484
{{ finding.impact }}
8585
{% endif %}
8686

8787
{% if finding.steps_to_reproduce %}
8888
*Steps to reproduce*:
89-
{{ finding.steps_to_reproduce }}
89+
{{ finding.steps_to_reproduce|safe }}
9090
{% endif %}
9191

9292
{% if finding.references %}
9393
*References*:
94-
{{ finding.references }}
94+
{{ finding.references|safe }}
9595
{% endif %}
9696

9797
*Reporter:* [{{ finding.reporter|full_name}} ({{ finding.reporter.email }})|mailto:{{ finding.reporter.email }}]

dojo/templates/issue-trackers/jira_full/jira-finding-group-description.tpl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,26 +66,26 @@ h3. [{{ finding.title|jiraencode}}|{{ finding_url|full_url }}]
6666
{% endif %}
6767

6868
*Description*:
69-
{{ finding.description }}
69+
{{ finding.description|safe }}
7070

7171
{% if finding.mitigation %}
7272
*Mitigation*:
73-
{{ finding.mitigation }}
73+
{{ finding.mitigation|safe }}
7474
{% endif %}
7575

7676
{% if finding.impact %}
7777
*Impact*:
78-
{{ finding.impact }}
78+
{{ finding.impact|safe }}
7979
{% endif %}
8080

8181
{% if finding.steps_to_reproduce %}
8282
*Steps to reproduce*:
83-
{{ finding.steps_to_reproduce }}
83+
{{ finding.steps_to_reproduce|safe }}
8484
{% endif %}
8585

8686
{% if finding.references %}
8787
*References*:
88-
{{ finding.references }}
88+
{{ finding.references|safe }}
8989
{% endif %}
9090

9191
*Reporter:* [{{ finding.reporter|full_name}} ({{ finding.reporter.email }})|mailto:{{ finding.reporter.email }}]

0 commit comments

Comments
 (0)