Skip to content

Commit e50c83b

Browse files
committed
Render vulnerability descriptions using markdown
Fixes #15.
1 parent a41b45a commit e50c83b

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

_layouts/advisory.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ <h3>PATCHED VERSIONS</h3>
6060

6161
<h3>DESCRIPTION</h3>
6262

63-
<div class="advisory-description">{{ page.advisory.description }}</div>
63+
<p>{{ page.advisory.description | markdownify }}</p>

assets/bootstrap/css/custom.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -839,9 +839,3 @@ form.well {
839839
.tooltip-inner {
840840
max-width: 500px;
841841
}
842-
843-
844-
/* ADVISORY DESCRIPTION */
845-
.advisory-description {
846-
white-space: pre-line;
847-
}

0 commit comments

Comments
 (0)