Skip to content

Commit

Permalink
Comment are not candidates for data-uri highlight plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Golmote committed Jul 11, 2016
1 parent 5f1b382 commit b6ab75b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/data-uri-highlight/prism-data-uri-highlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
};

// Tokens that may contain URLs
var candidates = ['comment', 'url', 'attr-value', 'string'];
var candidates = ['url', 'attr-value', 'string'];

Prism.plugins.dataURIHighlight = {
processGrammar: function (grammar) {
Expand Down
2 changes: 1 addition & 1 deletion plugins/data-uri-highlight/prism-data-uri-highlight.min.js

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

0 comments on commit b6ab75b

Please sign in to comment.