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:
parent
fb21271334
commit
b9220a18d1
4 changed files with 10 additions and 5 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue