Skip to content

Commit

Permalink
Replaced id to name #7
Browse files Browse the repository at this point in the history
  • Loading branch information
wcoder committed Feb 11, 2016
1 parent 883ba5d commit 996655c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/highlightjs-line-numbers.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/highlightjs-line-numbers.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@

function getLineWithLink (i, blockName) {
var id = blockName + '_l' + i;
return '<a href="#' + id + '" id="' + id + '">' + i + '</span>\n'
return '<a href="#' + id + '" name="' + id + '">' + i + '</span>\n'

This comment has been minimized.

Copy link
@gitblit

gitblit May 21, 2016

Shouldn't the end of this line be </a> ?

}
}(window));

0 comments on commit 996655c

Please sign in to comment.