Skip to content

Commit 802eff4

Browse files
committed
🤖 GITHUB ACTIONS format_prettier
1 parent d03416f commit 802eff4

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

‎SUPPORTED_BROWSERS.md‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
> This file is auto-generated from `.browserslistrc` during the prebuild step. Do not edit manually.
44
5-
| Browser | Minimum version |
6-
|---------|-----------------|
7-
| Android WebView | 145 or newer |
8-
| Apple Safari | 17.2 or newer |
9-
| Google Chrome | 120 or newer |
10-
| Microsoft Edge | 120 or newer |
11-
| Mozilla Firefox | 120 or newer |
12-
| Opera | 106 or newer |
13-
| Opera Mobile | 80 or newer |
14-
| Samsung Internet | 25 or newer |
5+
| Browser | Minimum version |
6+
| ---------------- | --------------- |
7+
| Android WebView | 145 or newer |
8+
| Apple Safari | 17.2 or newer |
9+
| Google Chrome | 120 or newer |
10+
| Microsoft Edge | 120 or newer |
11+
| Mozilla Firefox | 120 or newer |
12+
| Opera | 106 or newer |
13+
| Opera Mobile | 80 or newer |
14+
| Samsung Internet | 25 or newer |

‎scripts/print-view-localize.postbuild.ts‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,7 @@ export function localizeAndWritePrintViewScript(): void {
156156
const cacheKey = printViewCacheKey(destDir, locale)
157157
let html = readFileSync(printViewIndexPath, 'utf8')
158158
const htmlOriginal = html
159-
html = html.replace(
160-
/<html([^>]*)lang="[^"]*"/,
161-
`<html$1lang="${locale}"`
162-
)
159+
html = html.replace(/<html([^>]*)lang="[^"]*"/, `<html$1lang="${locale}"`)
163160
html = html.replace(/__PRINT_VIEW_VERSION__/g, cacheKey)
164161
if (html !== htmlOriginal) {
165162
writeFileSync(printViewIndexPath, html, 'utf8')

‎src/assets/print-view/index.html‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
name="description"
1111
content="Printable ORCID profile loaded from the registry record JSON API."
1212
/>
13-
<link rel="stylesheet" href="/print-view/cv-style.css?v=__PRINT_VIEW_VERSION__" />
13+
<link
14+
rel="stylesheet"
15+
href="/print-view/cv-style.css?v=__PRINT_VIEW_VERSION__"
16+
/>
1417
</head>
1518
<body>
1619
<header class="app-controls no-print">

0 commit comments

Comments
 (0)