Premium - korekta mail
This commit is contained in:
@@ -53,6 +53,25 @@ export default function FuzMarkdown({ text, ctx = {} }) {
|
||||
}>${label}</a>`;
|
||||
}
|
||||
);
|
||||
|
||||
processed = processed.replace(
|
||||
/\[([^\]]+)\]\("([^"]+)"(?:\s+"([^"]+)")?\s+btn\)/g,
|
||||
(match, label, href, title) => {
|
||||
return `
|
||||
<div class="">
|
||||
<a
|
||||
href="${href}"
|
||||
class="btn btn-primary"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"${title ? ` title="${title}"` : ""}
|
||||
>
|
||||
${label}
|
||||
</a>
|
||||
</div>`;
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
const html = marked(processed);
|
||||
|
||||
return (
|
||||
|
||||
@@ -424,7 +424,7 @@ export default function JamboxChannelsSearch() {
|
||||
type="button"
|
||||
class="f-chsearch-pkg"
|
||||
onClick={() => window.open(
|
||||
`/internet-telewizja/pakiety-tematyczne#tid-${encodeURIComponent(p.tid)}`,
|
||||
`/premium#tid-${encodeURIComponent(p.tid)}`,
|
||||
"_blank",
|
||||
"noopener,noreferrer"
|
||||
)}
|
||||
|
||||
@@ -99,7 +99,7 @@ export default function TvAddonsSection({
|
||||
{a.tid ? (
|
||||
<a
|
||||
class="f-addon-more"
|
||||
href={`/internet-telewizja/pakiety-tematyczne#tid-${encodeURIComponent(a.tid)}`}
|
||||
href={`/premium#tid-${encodeURIComponent(a.tid)}`}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
aria-label={`Więcej informacji o pakiecie ${a.nazwa ?? ""} (otwiera się w nowej karcie)`}
|
||||
|
||||
Reference in New Issue
Block a user