mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +00:00
LibWeb: Replace incorrect uses of split_view() for whitespace splitting
This commit is contained in:
parent
b9220a18d1
commit
b86c264975
3 changed files with 6 additions and 5 deletions
|
@ -76,7 +76,7 @@ void DOMTokenList::associated_attribute_changed(StringView value)
|
|||
if (value.is_empty())
|
||||
return;
|
||||
|
||||
auto split_values = value.split_view(' ');
|
||||
auto split_values = value.split_view(Infra::ASCII_WHITESPACE);
|
||||
for (auto const& split_value : split_values)
|
||||
append_to_ordered_set(m_token_set, split_value);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue