Skip to content

Commit 203ee06

Browse files
docs: clarify ligature fallback example wording
Agent-Logs-Url: https://github.com/MudBlazor/MudBlazor.Icons/sessions/fc7706eb-3126-40d0-a98c-7a41f446deb0 Co-authored-by: danielchalmers <7112040+danielchalmers@users.noreply.github.com>
1 parent 427792a commit 203ee06

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

documentation/material_symbols_usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ This allows you to access the icons like this:
5959

6060
## Loading tradeoffs
6161

62-
Material Symbols constants in this package are ligature-based strings (for example `material-symbols-rounded/weight`).
62+
Material Symbols constants in this package are ligature-based strings (for example the ligature name `weight`).
6363
Ligature rendering can still show readable fallback text briefly on very first load in some environments.
6464

6565
If your UI requires a strict "never show fallback text" behavior, prefer SVG icons.

src/GoogleMaterialDesignIconsGenerator/Service/IconHttpClientService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public class IconHttpClientService : IDisposable
88
{
99
public const string GoogleFontUrl = "http://fonts.google.com/";
1010
public const string GoogleFontsCssApiUrl = "https://fonts.googleapis.com/css2";
11-
private static readonly Regex Woff2UrlRegex = new(@"url\((['""]?)(?<href>https?://[^)'""]+?\.woff2)\1\)", RegexOptions.Compiled | RegexOptions.IgnoreCase);
11+
private static readonly Regex Woff2UrlRegex = new(@"url\((['""]?)(?<href>https://[^)'""]+?\.woff2)\1\)", RegexOptions.Compiled | RegexOptions.IgnoreCase);
1212

1313
private readonly HttpClient _httpClient;
1414
private readonly JsonSerializerOptions _jsonSerializerOptions;

0 commit comments

Comments
 (0)