Skip to content

Commit

Permalink
refactor(web): ♻ don't encode ampersand in ABP subscription links
Browse files Browse the repository at this point in the history
  • Loading branch information
collinbarrett committed Sep 14, 2020
1 parent 5b97ba1 commit 2c0dd92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/SubscribeButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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).`;
Expand Down

0 comments on commit 2c0dd92

Please sign in to comment.