Skip to content

Commit

Permalink
Merge branch 'remove_spellcheck_attribute' of https://github.com/emma…
Browse files Browse the repository at this point in the history
…nuelgautier/prism into emmanuelgautier-remove_spellcheck_attribute

# Conflicts:
#	components/prism-core.min.js
  • Loading branch information
Golmote committed Oct 21, 2017
2 parents 3badd8a + 01e74af commit de996d7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions components/prism-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -459,10 +459,6 @@ Token.stringify = function(o, language, parent) {
parent: parent
};

if (env.type == 'comment') {
env.attributes['spellcheck'] = 'true';
}

if (o.alias) {
var aliases = _.util.type(o.alias) === 'Array' ? o.alias : [o.alias];
Array.prototype.push.apply(env.classes, aliases);
Expand Down
2 changes: 1 addition & 1 deletion components/prism-core.min.js

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

4 changes: 0 additions & 4 deletions prism.js
Original file line number Diff line number Diff line change
Expand Up @@ -464,10 +464,6 @@ Token.stringify = function(o, language, parent) {
parent: parent
};

if (env.type == 'comment') {
env.attributes['spellcheck'] = 'true';
}

if (o.alias) {
var aliases = _.util.type(o.alias) === 'Array' ? o.alias : [o.alias];
Array.prototype.push.apply(env.classes, aliases);
Expand Down

0 comments on commit de996d7

Please sign in to comment.