mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:37:36 +00:00
LibWeb/Infra: Port strip_and_collapse_whitespace() to new String
This commit is contained in:
parent
f65cbeef5c
commit
93ed1b59c8
3 changed files with 8 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
|
||||
* Copyright (c) 2022-2023, Linus Groh <linusg@serenityos.org>
|
||||
* Copyright (c) 2022, networkException <networkexception@serenityos.org>
|
||||
* Copyright (c) 2023, Kenneth Myhra <kennethmyhra@serenityos.org>
|
||||
* Copyright (c) 2023, Sam Atkins <atkinssj@serenityos.org>
|
||||
|
@ -14,7 +14,7 @@
|
|||
namespace Web::Infra {
|
||||
|
||||
bool is_ascii_case_insensitive_match(StringView a, StringView b);
|
||||
DeprecatedString strip_and_collapse_whitespace(StringView string);
|
||||
ErrorOr<String> strip_and_collapse_whitespace(StringView string);
|
||||
bool is_code_unit_prefix(StringView potential_prefix, StringView input);
|
||||
ErrorOr<String> convert_to_scalar_value_string(StringView string);
|
||||
ErrorOr<String> to_ascii_lowercase(StringView string);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue