Showing
1 changed file
with
1 additions
and
1 deletions
@@ -241,7 +241,7 @@ | @@ -241,7 +241,7 @@ | ||
241 | obj.textValue = text.value; | 241 | obj.textValue = text.value; |
242 | } | 242 | } |
243 | 243 | ||
244 | - obj._href = obj.href = href+'?openby:yohobuy=' + JSON.stringify({action: action.val(), params: {url: href}}); | 244 | + obj._href = obj.href = encodeURI(href)+'?openby:yohobuy=' + JSON.stringify({action: action.val(), params: {url: encodeURI(href)}}); |
245 | 245 | ||
246 | editor.execCommand('link',utils.clearEmptyAttrs(obj) ); | 246 | editor.execCommand('link',utils.clearEmptyAttrs(obj) ); |
247 | dialog.close(); | 247 | dialog.close(); |
-
Please register or login to post a comment