1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 21:37:35 +00:00

LibWeb: Replace incorrect uses of String::trim_whitespace()

This commit is contained in:
Linus Groh 2022-10-01 18:25:29 +01:00 committed by Andreas Kling
parent fb21271334
commit b9220a18d1
4 changed files with 10 additions and 5 deletions

View file

@ -10,6 +10,8 @@
namespace Web::Infra {
constexpr auto ASCII_WHITESPACE = "\t\n\f\r "sv;
// https://infra.spec.whatwg.org/#ascii-whitespace
constexpr bool is_ascii_whitespace(u32 code_point)
{