Skip to content

Commit

Permalink
Jira Template: Do not HTML encode before shipping to jira
Browse files Browse the repository at this point in the history
  • Loading branch information
Maffooch committed Jan 24, 2025
1 parent feabd7b commit 206c40e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions dojo/templates/issue-trackers/jira_full/jira-description.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -72,26 +72,26 @@
{% endif %}

*Description*:
{{ finding.description }}
{{ finding.description|safe }}

{% if finding.mitigation %}
*Mitigation*:
{{ finding.mitigation }}
{{ finding.mitigation|safe }}
{% endif %}

{% if finding.impact %}
{% if finding.impact|safe %}
*Impact*:
{{ finding.impact }}
{% endif %}

{% if finding.steps_to_reproduce %}
*Steps to reproduce*:
{{ finding.steps_to_reproduce }}
{{ finding.steps_to_reproduce|safe }}
{% endif %}

{% if finding.references %}
*References*:
{{ finding.references }}
{{ finding.references|safe }}
{% endif %}

*Reporter:* [{{ finding.reporter|full_name}} ({{ finding.reporter.email }})|mailto:{{ finding.reporter.email }}]
Original file line number Diff line number Diff line change
Expand Up @@ -66,26 +66,26 @@ h3. [{{ finding.title|jiraencode}}|{{ finding_url|full_url }}]
{% endif %}

*Description*:
{{ finding.description }}
{{ finding.description|safe }}

{% if finding.mitigation %}
*Mitigation*:
{{ finding.mitigation }}
{{ finding.mitigation|safe }}
{% endif %}

{% if finding.impact %}
*Impact*:
{{ finding.impact }}
{{ finding.impact|safe }}
{% endif %}

{% if finding.steps_to_reproduce %}
*Steps to reproduce*:
{{ finding.steps_to_reproduce }}
{{ finding.steps_to_reproduce|safe }}
{% endif %}

{% if finding.references %}
*References*:
{{ finding.references }}
{{ finding.references|safe }}
{% endif %}

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

0 comments on commit 206c40e

Please sign in to comment.