forked from mozilla/bedrock
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request mozilla#4424 from pmac/improve-mfsa-yml-formatting
Some small improvements to MFSA YAML styling and function
- Loading branch information
Showing
4 changed files
with
144 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
<h4 id="{{ id }}" class="level-heading cve"> | ||
<a href="#{{ id }}"><span class="anchor">#</span>{{ id }}: {{ title }}</a> | ||
</h4> | ||
<dl class="summary"> | ||
<dt>Reporter</dt> | ||
<dd>{{ reporter|safe }}</dd> | ||
<dt>Impact</dt> | ||
<dd><span class="level {{ impact_class }}">{{ impact }}</span></dd> | ||
</dl> | ||
<h5>Description</h5> | ||
{{ description|markdown }} | ||
{% if bugs %} | ||
<h5>References</h5> | ||
<ul> | ||
{% for bug in bugs -%} | ||
<li><a href="{{ bug.url }}">{{ bug.desc|safe }}</a></li> | ||
{%- endfor %} | ||
</ul> | ||
{% endif %} | ||
<section class="cve"> | ||
<h4 id="{{ id }}" class="level-heading"> | ||
<a href="#{{ id }}"><span class="anchor">#</span>{{ id }}: {{ title }}</a> | ||
</h4> | ||
<dl class="summary"> | ||
<dt>Reporter</dt> | ||
<dd>{{ reporter|safe }}</dd> | ||
<dt>Impact</dt> | ||
<dd><span class="level {{ impact_class }}">{{ impact }}</span></dd> | ||
</dl> | ||
<h5>Description</h5> | ||
{{ description|markdown }} | ||
{% if bugs %} | ||
<h5>References</h5> | ||
<ul> | ||
{% for bug in bugs -%} | ||
<li><a href="{{ bug.url }}">{{ bug.desc|safe }}</a></li> | ||
{%- endfor %} | ||
</ul> | ||
{% endif %} | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters