diff --git a/src/gui/handler.cpp b/src/gui/handler.cpp index 7aa81b79..35c51d07 100644 --- a/src/gui/handler.cpp +++ b/src/gui/handler.cpp @@ -305,6 +305,7 @@ namespace loot { string text = yout.c_str(); // Get rid of yaml-cpp weirdness. boost::replace_all(text, "! ", ""); + text = "[spoiler][code]" + text + "[/code][/spoiler]"; CopyToClipboard(text); callback->Success(""); } @@ -383,6 +384,7 @@ namespace loot { // Get rid of yaml-cpp weirdness. boost::replace_all(text, "! ", ""); } + text = "[spoiler][code]" + text + "[/code][/spoiler]"; CopyToClipboard(text);