Make text formatting more readable.

This commit is contained in:
tastytea 2021-06-05 13:13:36 +02:00
parent 4026937f08
commit 12e1c64fc0
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ void cleanup_text(string &text)
if (boost::regex_search(text.substr(pos, endpos).data(), match,
re_pagebreak))
{
replacement = "<PAGE " + match[2] + ">";
replacement = format("<PAGE {0:s}>", match[2].str());
}
}
else if (text.substr(pos, 7) == "<style "