mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
fix Add link encoding
closes #79 Thanks, Anonymous, for reporting and assisting with solving this!
This commit is contained in:
parent
47ae0e276f
commit
d086007f27
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ function createHtmlArrayLinkButton(htmlType, url, listName) {
|
|||
return "<a href=\"" + url + "\" title=\"Preview " + listName + " in your browser.\" class=\"button piwik_download\">View</a>";
|
||||
break;
|
||||
case "addUrl":
|
||||
return "<a href=\"abp:subscribe?location=" + url + "&title=" + listName + "\" title=\"Subscribe to " + listName + " in your content blocker.\" class=\"button piwik_download\">Add</a>";
|
||||
return "<a href=\"abp:subscribe?location=" + encodeUrlArray(url) + "&title=" + encodeUrlArray(listName) + "\" title=\"Subscribe to " + listName + " in your content blocker.\" class=\"button piwik_download\">Add</a>";
|
||||
break;
|
||||
case "homeUrl":
|
||||
return "<a href=\"" + url + "\" title=\"" + listName + " Home Page\" class=\"button\">Home</a>";
|
||||
|
|
|
|||
Loading…
Reference in a new issue