mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
LibVT: Clear the href ID by setting it to None instead of ""
This commit is contained in:
parent
a8c7448ccb
commit
f10dc9cb14
Notes:
sideshowbarker
2024-07-17 04:21:32 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/f10dc9cb14 Pull-request: https://github.com/SerenityOS/serenity/pull/21466 Issue: https://github.com/SerenityOS/serenity/issues/21463 Reviewed-by: https://github.com/ADKaster ✅
1 changed files with 2 additions and 2 deletions
|
@ -1275,8 +1275,8 @@ void Terminal::execute_osc_sequence(OscParameters parameters, u8 last_byte)
|
|||
dbgln("Attempted to set href but gave too few parameters");
|
||||
} else if (parameters[1].is_empty() && parameters[2].is_empty()) {
|
||||
// Clear hyperlink
|
||||
m_current_state.attribute.href = DeprecatedString();
|
||||
m_current_state.attribute.href_id = DeprecatedString();
|
||||
m_current_state.attribute.href = {};
|
||||
m_current_state.attribute.href_id = {};
|
||||
} else {
|
||||
m_current_state.attribute.href = stringview_ify(2);
|
||||
// FIXME: Respect the provided ID
|
||||
|
|
Loading…
Reference in a new issue