mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
modules/s_control: Workaround some issues with output for now.
This commit is contained in:
parent
a054ac6b2f
commit
6432245abd
1 changed files with 6 additions and 2 deletions
|
@ -84,11 +84,15 @@ noexcept try
|
|||
command(out, body, opts);
|
||||
out << "</pre>";
|
||||
|
||||
const auto str
|
||||
std::string str
|
||||
{
|
||||
replace(out.str().substr(0, 48_KiB), '\n', "<br />")
|
||||
out.str().substr(0, 32_KiB)
|
||||
};
|
||||
|
||||
//TODO: XXXX
|
||||
str = replace(std::move(str), '\n', "<br />");
|
||||
str = replace(std::move(str), '"', "\\\"");
|
||||
|
||||
const string_view alt //TODO: X
|
||||
{
|
||||
"no alt text"
|
||||
|
|
Loading…
Reference in a new issue