docs: Minor JSON docs bugfix for hiding a header, remove invalid comment (#87)

This commit is contained in:
Francis Lavoie 2020-09-25 17:33:02 -04:00 committed by GitHub
parent af3676862b
commit 05fa4bcca1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 6 deletions

View file

@ -50,9 +50,8 @@ $(function() {
});
// Add links to [<matcher>] or named matcher tokens in code blocks.
// We can't do it exactly the same as the above block, because
// the matcher text includes <> character which are parsed as HTML
// unless we use text() to change the link text.
// The matcher text includes <> characters which are parsed as HTML,
// so we must use text() to change the link text.
$('pre.chroma .nd')
.map(function(k, item) {
let text = item.innerText;