1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 17:35:07 +00:00

LibWeb: Port DOM::Node from DeprecatedString

This commit is contained in:
Shannon Booth 2023-12-03 08:24:04 +13:00 committed by Andreas Kling
parent 89bbf53745
commit a8f5ebeddd
8 changed files with 26 additions and 27 deletions

View file

@ -114,7 +114,7 @@ String HTMLAnchorElement::text() const
void HTMLAnchorElement::set_text(String const& text)
{
// The text attribute's setter must string replace all with the given value within this element.
string_replace_all(text.to_deprecated_string());
string_replace_all(text);
}
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#dom-a-referrerpolicy