Fix composite source encoding
This commit is contained in:
parent
c9fdbb55f9
commit
b482cdcc99
2 changed files with 32 additions and 1 deletions
|
@ -77,7 +77,9 @@ var Bing = function (options) {
|
|||
+ "&$top=" + opts.top
|
||||
+ "&$skip=" + opts.skip
|
||||
+ "&Options=%27" + (opts.options || []).join('%2B') + "%27"
|
||||
+ (opts.sources ? "&Sources=%27" + opts.sources + "%27" : '')
|
||||
+ (opts.sources
|
||||
? "&Sources=%27" + encodeURIComponent(opts.sources) + "%27"
|
||||
: '')
|
||||
+ (opts.newsSortBy ? "&NewsSortBy=%27" + opts.newsSortBy + "%27" : '')
|
||||
+ (opts.newsCategory ? "&NewsCategory=%27" + opts.newsCategory + "%27" : '')
|
||||
+ (opts.newsLocationOverride
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue