mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:27:35 +00:00
LibWeb: Port FontFace to new Strings
This commit is contained in:
parent
33e9c4e1b2
commit
c2f0b20d6b
5 changed files with 18 additions and 16 deletions
|
@ -599,7 +599,7 @@ void dump_font_face_rule(StringBuilder& builder, CSS::CSSFontFaceRule const& rul
|
|||
builder.append("sources:\n"sv);
|
||||
for (auto const& source : font_face.sources()) {
|
||||
indent(builder, indent_levels + 2);
|
||||
builder.appendff("url={}, format={}\n", source.url, source.format.value_or("???"));
|
||||
builder.appendff("url={}, format={}\n", source.url, source.format.value_or(String::from_utf8_short_string("???"sv)));
|
||||
}
|
||||
|
||||
indent(builder, indent_levels + 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue