Skip to content

Commit

Permalink
Do not encode URL of DigitaleKeilschriftBibliothek and Update Assurba…
Browse files Browse the repository at this point in the history
…nipal Font
  • Loading branch information
ejimsan committed Jan 6, 2025
1 parent dfb32d8 commit ce462c0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
Binary file modified src/Assurbanipal.ttf
Binary file not shown.
Binary file modified src/Assurbanipal.woff
Binary file not shown.
Binary file modified src/Assurbanipal.woff2
Binary file not shown.
11 changes: 9 additions & 2 deletions src/fragmentarium/ui/info/ExternalNumberLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ interface Props {
number: string
baseUrl?: string
label: string
encodeUri?: boolean
}
function ExternalNumberLink({ baseUrl, number, label }: Props): JSX.Element {
const url = `${baseUrl}${encodeURIComponent(number)}`
function ExternalNumberLink({
baseUrl,
number,
label,
encodeUri = true,
}: Props): JSX.Element {
const url = `${baseUrl}${encodeUri ? encodeURIComponent(number) : number}`
return (
<>
{`${label} (`}
Expand Down Expand Up @@ -137,6 +143,7 @@ export function DigitaleKeilschriftBibliothekLink({
'https://gwdu64.gwdg.de/pls/tlinnemann/keilpublic_1$tafel.QueryViewByKey?'
}
label={'Digitale Keilschrift Bibliothek'}
encodeUri={false}
/>
)
}
Expand Down

0 comments on commit ce462c0

Please sign in to comment.