mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-25 07:24:14 +00:00
Quote font URLs in HTML preamble to avoid issues
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user