Skip to content

Commit

Permalink
Travis failure: use backwards-compatible JS
Browse files Browse the repository at this point in the history
  • Loading branch information
davisjam committed Apr 15, 2018
1 parent 4717be9 commit 1ad9ca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/marked.js
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ inline.pedantic = merge({}, inline.normal, {
strong: /^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,
em: /^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,
link: {
exec: (s) => {
exec: function (s) {
// [TEXT](DESTINATION)
var generalLinkRe = edit(/^!?\[(label)\]\((.*?)\)/)
.replace('label', inline._label)
Expand Down

0 comments on commit 1ad9ca0

Please sign in to comment.