mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-24 19:54:22 -04:00
Quote font URLs in HTML preamble to avoid issues
This commit is contained in:
parent
0e1c3e4c76
commit
f36852a1a2
1 changed files with 10 additions and 10 deletions
|
@ -41,70 +41,70 @@
|
||||||
@{/* Styling */}
|
@{/* Styling */}
|
||||||
<style>
|
<style>
|
||||||
@@font-face {
|
@@font-face {
|
||||||
src: url(@await ResolveAssetUrlAsync(GetFontUrl("normal", 400)));
|
src: url("@await ResolveAssetUrlAsync(GetFontUrl("normal", 400))");
|
||||||
font-family: gg sans;
|
font-family: gg sans;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@font-face {
|
@@font-face {
|
||||||
src: url(@await ResolveAssetUrlAsync(GetFontUrl("normal", 500)));
|
src: url("@await ResolveAssetUrlAsync(GetFontUrl("normal", 500))");
|
||||||
font-family: gg sans;
|
font-family: gg sans;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@font-face {
|
@@font-face {
|
||||||
src: url(@await ResolveAssetUrlAsync(GetFontUrl("normal", 600)));
|
src: url("@await ResolveAssetUrlAsync(GetFontUrl("normal", 600))");
|
||||||
font-family: gg sans;
|
font-family: gg sans;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@font-face {
|
@@font-face {
|
||||||
src: url(@await ResolveAssetUrlAsync(GetFontUrl("normal", 700)));
|
src: url("@await ResolveAssetUrlAsync(GetFontUrl("normal", 700))");
|
||||||
font-family: gg sans;
|
font-family: gg sans;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@font-face {
|
@@font-face {
|
||||||
src: url(@await ResolveAssetUrlAsync(GetFontUrl("normal", 800)));
|
src: url("@await ResolveAssetUrlAsync(GetFontUrl("normal", 800))");
|
||||||
font-family: gg sans;
|
font-family: gg sans;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@font-face {
|
@@font-face {
|
||||||
src: url(@await ResolveAssetUrlAsync(GetFontUrl("italic", 400)));
|
src: url("@await ResolveAssetUrlAsync(GetFontUrl("italic", 400))");
|
||||||
font-family: gg sans;
|
font-family: gg sans;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@font-face {
|
@@font-face {
|
||||||
src: url(@await ResolveAssetUrlAsync(GetFontUrl("italic", 500)));
|
src: url("@await ResolveAssetUrlAsync(GetFontUrl("italic", 500))");
|
||||||
font-family: gg sans;
|
font-family: gg sans;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@font-face {
|
@@font-face {
|
||||||
src: url(@await ResolveAssetUrlAsync(GetFontUrl("italic", 600)));
|
src: url("@await ResolveAssetUrlAsync(GetFontUrl("italic", 600))");
|
||||||
font-family: gg sans;
|
font-family: gg sans;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@font-face {
|
@@font-face {
|
||||||
src: url(@await ResolveAssetUrlAsync(GetFontUrl("italic", 700)));
|
src: url("@await ResolveAssetUrlAsync(GetFontUrl("italic", 700))");
|
||||||
font-family: gg sans;
|
font-family: gg sans;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@font-face {
|
@@font-face {
|
||||||
src: url(@await ResolveAssetUrlAsync(GetFontUrl("italic", 800)));
|
src: url("@await ResolveAssetUrlAsync(GetFontUrl("italic", 800))");
|
||||||
font-family: gg sans;
|
font-family: gg sans;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue