mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 06:21:28 +00:00
[Bug Fix] Trim output in hidden dialogue response. (#1587)
This commit is contained in:
parent
07664eedc0
commit
b730461894
@ -512,7 +512,7 @@ void DialogueWindow::Render(Client *c, std::string markdown)
|
||||
std::string final_output;
|
||||
final_output = fmt::format("{}{}{} <br><br> {}", quote_string, trim(output), quote_string, click_response);
|
||||
if (render_hiddenresponse) {
|
||||
final_output = fmt::format("{}{}{}", quote_string, output, quote_string);
|
||||
final_output = fmt::format("{}{}{}", quote_string, trim(output), quote_string);
|
||||
}
|
||||
|
||||
// send popup
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user