mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:07:46 +00:00
LibMarkdown: Fix typo in variable name
This commit is contained in:
parent
841a5fe81b
commit
61e9e80232
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