Skip to content

Commit

Permalink
Closes #6157: Support Markdown rendering for report logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystretch committed Apr 14, 2021
1 parent cc43338 commit 7c48e36
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/release-notes/version-2.10.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## v2.10.10 (FUTURE)

### Enhancements

* [#6157](https://github.com/netbox-community/netbox/issues/6157) - Support Markdown rendering for report logs

### Bug Fixes

* [#5419](https://github.com/netbox-community/netbox/issues/5419) - Update parent device/VM when deleting a primary IP
Expand Down
4 changes: 3 additions & 1 deletion netbox/templates/extras/report_result.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,11 @@
<a href="{{ url }}">{{ obj }}</a>
{% elif obj %}
{{ obj }}
{% else %}
<span class="muted">&mdash;</span>
{% endif %}
</td>
<td>{{ message }}</td>
<td class="rendered-markdown">{{ message|render_markdown }}</td>
</tr>
{% endfor %}
{% endfor %}
Expand Down

0 comments on commit 7c48e36

Please sign in to comment.