mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-05 01:42:54 +00:00
LibWeb: Port DOM::Node from DeprecatedString
This commit is contained in:
parent
89bbf53745
commit
a8f5ebeddd
Notes:
sideshowbarker
2024-07-17 11:30:05 +09:00
Author: https://github.com/shannonbooth
Commit: a8f5ebeddd
Pull-request: https://github.com/SerenityOS/serenity/pull/22134
8 changed files with 26 additions and 27 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue