Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Songkunda committed May 18, 2018
1 parent c4d7cba commit c393966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mock/random/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module.exports = {
(background ? '/' + background : '') +
(foreground ? '/' + foreground : '') +
(format ? '.' + format : '') +
(text ? '&text=' + text : '')
(text ? '&text=' + encodeURI(text) : '')
},
img: function() {
return this.image.apply(this, arguments)
Expand Down

0 comments on commit c393966

Please sign in to comment.