mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
refactor(web): ♻ don't encode ampersand in ABP subscription links
closes #252 ref https://github.com/uBlockOrigin/uBlock-issues/issues/763
This commit is contained in:
parent
5b97ba15e8
commit
2c0dd92ac7
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ const buildButtonProps = (name: string, viewUrl: string) => {
|
|||
|
||||
const hrefLocation = `${encodeURIComponent(viewUrl)}`;
|
||||
const hrefTitle = `${encodeURIComponent(name)}`;
|
||||
let href = `abp:subscribe?location=${hrefLocation}&title=${hrefTitle}`;
|
||||
let href = `abp:subscribe?location=${hrefLocation}&title=${hrefTitle}`;
|
||||
|
||||
let prefixes: string[] = [];
|
||||
let message = `Subscribe to ${name} with a browser extension supporting the "abp:" protocol (e.g. uBlock Origin, Adblock Plus).`;
|
||||
|
|
|
|||
Loading…
Reference in a new issue