mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibMarkdown: Fix typo in variable name
This commit is contained in:
parent
841a5fe81b
commit
61e9e80232
Notes:
sideshowbarker
2024-07-18 03:16:03 +09:00
Author: https://github.com/nico
Commit: 61e9e80232
Pull-request: https://github.com/SerenityOS/serenity/pull/10287
Reviewed-by: https://github.com/linusg ✅
1 changed files with 3 additions and 3 deletions
|
@ -468,8 +468,8 @@ NonnullOwnPtr<Text::Node> Text::parse_link(Vector<Token>::ConstIterator& tokens)
|
|||
link_text->children.prepend(make<TextNode>(opening.data));
|
||||
return link_text;
|
||||
}
|
||||
auto seperator = *tokens;
|
||||
VERIFY(seperator == "](");
|
||||
auto separator = *tokens;
|
||||
VERIFY(separator == "](");
|
||||
|
||||
auto address = make<MultiNode>();
|
||||
for (auto iterator = tokens + 1; !iterator.is_end(); ++iterator) {
|
||||
|
@ -482,7 +482,7 @@ NonnullOwnPtr<Text::Node> Text::parse_link(Vector<Token>::ConstIterator& tokens)
|
|||
}
|
||||
|
||||
link_text->children.prepend(make<TextNode>(opening.data));
|
||||
link_text->children.append(make<TextNode>(seperator.data));
|
||||
link_text->children.append(make<TextNode>(separator.data));
|
||||
return link_text;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue