1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:47:44 +00:00

LibMarkdown: Fix typo in variable name

This commit is contained in:
Nico Weber 2021-09-30 20:30:37 -04:00 committed by Linus Groh
parent 841a5fe81b
commit 61e9e80232

View file

@ -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;
}
}