Skip to content

Conversation

@logicplace
Copy link
Contributor

String.prototype.substr(start, count)
String.prototype.substring(start, end)
end = count - start

String.prototype.substr(start, count)
String.prototype.substring(start, end)
end = count - start
@isagalaev isagalaev merged commit 4d899f9 into highlightjs:master Nov 14, 2016
@isagalaev
Copy link
Member

isagalaev commented Nov 14, 2016

Oh, cool! Thanks for catching it!

@logicplace
Copy link
Contributor Author

No problem, that was amazingly fast. lol

@isagalaev
Copy link
Member

A lucky coincidence + a straightforward patch :-) We have our fair share of horribly outdated issues we really really have to look at at some point…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants