Add BBCode spoiler, text tags to clipboard text.

Closes #350.
This commit is contained in:
Oliver Hamlet
2014-12-07 19:14:19 +00:00
parent afe9a48f9a
commit 72cfafdf27
+2
View File
@@ -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);