Skip to content

Commit

Permalink
The extra variable
Browse files Browse the repository at this point in the history
  • Loading branch information
gela committed Jul 14, 2015
1 parent f48e1c2 commit d4d3947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tasks/override-links.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function buildSrcForImages(str, href, doc, node) {
src = (doc ? docParentUrl : absoluteLink) + href;

// change only src, save styles and attrs
return str = str.replace(/src=("|')?.+("|')?/g, 'src="' + src + '?raw=true"')
return str.replace(/src=("|')?.+("|')?/g, 'src="' + src + '?raw=true"')
}

/**
Expand Down

0 comments on commit d4d3947

Please sign in to comment.