summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibMarkdown/Text.cpp
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2021-09-30 20:30:37 -0400
committerLinus Groh <mail@linusgroh.de>2021-10-01 01:33:43 +0100
commit61e9e802329770db3dc30f6f15a31f5214c9d6db (patch)
tree60edad30df2d2ad9f88785b2d5a80c60430e05b6 /Userland/Libraries/LibMarkdown/Text.cpp
parent841a5fe81b6351b7a17f9e5381390ebe2970f92c (diff)
downloadserenity-61e9e802329770db3dc30f6f15a31f5214c9d6db.zip
LibMarkdown: Fix typo in variable name
Diffstat (limited to 'Userland/Libraries/LibMarkdown/Text.cpp')
-rw-r--r--Userland/Libraries/LibMarkdown/Text.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibMarkdown/Text.cpp b/Userland/Libraries/LibMarkdown/Text.cpp
index ddc0901c07..5631e8c929 100644
--- a/Userland/Libraries/LibMarkdown/Text.cpp
+++ b/Userland/Libraries/LibMarkdown/Text.cpp
@@ -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;
}
}