Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 22e579761a | |||
| 7762b1e23b | |||
| 8c2e9bb11d | |||
| a5c997330c |
@@ -61,7 +61,9 @@ const mdxComponents = {
|
||||
try {
|
||||
const urlParam = new URLSearchParams(src.split('?')[1]).get('url');
|
||||
if (urlParam) src = decodeURIComponent(urlParam);
|
||||
} catch (e) {}
|
||||
} catch (_e) {
|
||||
// Ignore invalid URL parsing
|
||||
}
|
||||
}
|
||||
const { props: { srcSet, src: finalSrc, sizes } } = getImageProps({
|
||||
src,
|
||||
|
||||
@@ -31,7 +31,9 @@ const mdxComponents = {
|
||||
try {
|
||||
const urlParam = new URLSearchParams(src.split('?')[1]).get('url');
|
||||
if (urlParam) src = decodeURIComponent(urlParam);
|
||||
} catch (e) {}
|
||||
} catch (_e) {
|
||||
// Ignore invalid URL parsing
|
||||
}
|
||||
}
|
||||
const { props: { srcSet, src: finalSrc, sizes } } = getImageProps({
|
||||
src,
|
||||
|
||||
@@ -47,7 +47,9 @@ const mdxComponents = {
|
||||
try {
|
||||
const urlParam = new URLSearchParams(src.split('?')[1]).get('url');
|
||||
if (urlParam) src = decodeURIComponent(urlParam);
|
||||
} catch (e) {}
|
||||
} catch (_e) {
|
||||
// Ignore invalid URL parsing
|
||||
}
|
||||
}
|
||||
const { props: { srcSet, src: finalSrc, sizes } } = getImageProps({
|
||||
src,
|
||||
|
||||
@@ -148,7 +148,8 @@ export function CertificatesBlock({ badge, title, description, certificates = de
|
||||
const wrapperProps = cert.pdfUrl ? {
|
||||
href: encodeURI(cert.pdfUrl),
|
||||
target: "_blank",
|
||||
rel: "noopener noreferrer"
|
||||
rel: "noopener noreferrer",
|
||||
download: cert.pdfUrl.split('/').pop()
|
||||
} : {};
|
||||
|
||||
return (
|
||||
|
||||
6
lint-results.json
Normal file
6
lint-results.json
Normal file
File diff suppressed because one or more lines are too long
@@ -140,7 +140,7 @@
|
||||
"prepare": "husky",
|
||||
"preinstall": "npx only-allow pnpm"
|
||||
},
|
||||
"version": "2.4.39",
|
||||
"version": "2.4.41",
|
||||
"pnpm": {
|
||||
"onlyBuiltDependencies": [
|
||||
"@parcel/watcher",
|
||||
|
||||
Reference in New Issue
Block a user