mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:47:45 +00:00
Everywhere: Fix incorrect uses of String::format and StringBuilder::appendf
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
This commit is contained in:
parent
6d97b623cd
commit
fe2b8906d4
7 changed files with 21 additions and 21 deletions
|
@ -32,9 +32,9 @@ namespace Markdown {
|
|||
String Heading::render_to_html() const
|
||||
{
|
||||
StringBuilder builder;
|
||||
builder.appendf("<h%d>", m_level);
|
||||
builder.appendf("<h%zu>", m_level);
|
||||
builder.append(m_text.render_to_html());
|
||||
builder.appendf("</h%d>\n", m_level);
|
||||
builder.appendf("</h%zu>\n", m_level);
|
||||
return builder.build();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue