Update to version 0.7.0.

This commit is contained in:
David Anson 2018-01-22 20:54:26 -08:00
parent 6ca9340a30
commit c0ea22e55e
6 changed files with 9 additions and 5 deletions

View file

@ -28,7 +28,7 @@
<div class="flex-columns inset">
<footer><a href="https://github.com/DavidAnson/markdownlint">markdownlint project on GitHub</a></footer>
<div class="flex-fill"></div>
<footer>Copyright &copy; 2015-2017 by <a href="//dlaa.me/">David Anson</a></footer>
<footer>Copyright &copy; 2015-2018 by <a href="//dlaa.me/">David Anson</a></footer>
</div>
</div>
<script src="markdown-it.min.js"></script>

View file

@ -53,7 +53,9 @@
violations.innerHTML = results.content.map(function mapResult(result) {
var ruleName = result.ruleNames[0];
var ruleRef = rulesMd + "#" + ruleName.toLowerCase() + "---" +
result.ruleDescription.toLowerCase().replace(/ /g, "-");
result.ruleDescription.toLowerCase()
.replace(/ /g, "-")
.replace(/[()]/g, "");
return "<a href='#" + result.lineNumber + "'><em>" + result.lineNumber +
"</em></a> - <a href='" + ruleRef + "'>" + ruleName + "</a> " +
result.ruleDescription +

View file

@ -1,5 +1,5 @@
CACHE MANIFEST
# 2017-11-22
# 2018-01-22
default.css
default.htm
default.js