]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Resources/views/themes/common/Static/_bookmarklet.html.twig
Better encoding of the URI for the bookmarklet
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / common / Static / _bookmarklet.html.twig
index 3385cd535fa3ef25cf0bde22937b881a8f7e5f35..9ebf1bedffc43301d830103c42f8da49bd14383d 100644 (file)
@@ -1 +1 @@
-<a id="bookmarklet" ondragend="this.click();" href="javascript:(function(){var url=location.href||url;var wllbg=window.open('{{ url('bookmarklet') }}?url=' + encodeURI(url),'_blank');})();">bag it!</a>
+<a id="bookmarklet" ondragend="this.click();" href="javascript:(function(){var url=location.href||url;var wllbg=window.open('{{ url('bookmarklet') }}?url=' + encodeURIComponent(url),'_blank');})();">bag it!</a>