Make text formatting more readable.
This commit is contained in:
parent
4026937f08
commit
12e1c64fc0
@ -152,7 +152,7 @@ void cleanup_text(string &text)
|
|||||||
if (boost::regex_search(text.substr(pos, endpos).data(), match,
|
if (boost::regex_search(text.substr(pos, endpos).data(), match,
|
||||||
re_pagebreak))
|
re_pagebreak))
|
||||||
{
|
{
|
||||||
replacement = "<PAGE " + match[2] + ">";
|
replacement = format("<PAGE {0:s}>", match[2].str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (text.substr(pos, 7) == "<style "
|
else if (text.substr(pos, 7) == "<style "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user