mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
LibWeb/Infra: Port strip_and_collapse_whitespace() to new String
This commit is contained in:
parent
f65cbeef5c
commit
93ed1b59c8
Notes:
sideshowbarker
2024-07-17 06:46:15 +09:00
Author: https://github.com/linusg
Commit: 93ed1b59c8
Pull-request: https://github.com/SerenityOS/serenity/pull/17718
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