summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-10-09 23:19:58 +0100
committerAndreas Kling <kling@serenityos.org>2020-10-10 00:53:09 +0200
commite7c53bee167a92861889d5a652ccf5f03b95a2c5 (patch)
tree2daa1b8ccad23a5be7019fea0c680e695d1883b9
parent6f74eaed4291f4e079fffceb20c4d2d4081dbafc (diff)
downloadserenity-e7c53bee167a92861889d5a652ccf5f03b95a2c5.zip
Spreadsheet: Fix rendering of documentation examples
s/String::format/String::formatted/ - the Markdown source was not being formatted properly.
-rw-r--r--Applications/Spreadsheet/HelpWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Spreadsheet/HelpWindow.cpp b/Applications/Spreadsheet/HelpWindow.cpp
index 7d5ba0e58d..8d3612b01a 100644
--- a/Applications/Spreadsheet/HelpWindow.cpp
+++ b/Applications/Spreadsheet/HelpWindow.cpp
@@ -157,7 +157,7 @@ String HelpWindow::render(const GUI::ModelIndex& index)
if (!examples.is_empty()) {
markdown_builder.append("# EXAMPLES\n");
examples.for_each_member([&](auto& text, auto& description_value) {
- markdown_builder.appendf("- {}\n\n```js\n{}\n```\n", description_value.to_string(), text);
+ markdown_builder.appendff("- {}\n\n```js\n{}\n```\n", description_value.to_string(), text);
});
}