aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Page.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-11-07 14:36:13 +0100
committerdec05eba <dec05eba@protonmail.com>2022-11-07 14:36:13 +0100
commitc2219fdf1f741a33f415124459de69054313de57 (patch)
tree0b89fd2f83cb97eec6f8361a4356b3f414124998 /src/plugins/Page.cpp
parentc65a57e884de51cade584e3f01c7c5627aa6ebd8 (diff)
Unformat text for clipboard
Diffstat (limited to 'src/plugins/Page.cpp')
-rw-r--r--src/plugins/Page.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/Page.cpp b/src/plugins/Page.cpp
index f5867e3..991f651 100644
--- a/src/plugins/Page.cpp
+++ b/src/plugins/Page.cpp
@@ -49,9 +49,9 @@ namespace QuickMedia {
}
void Page::copy_to_clipboard(const BodyItem *body_item) {
- std::string title = body_item->get_title();
- std::string author = body_item->get_author();
- std::string description = body_item->get_description();
+ std::string title = Text::to_printable_string(body_item->get_title());
+ std::string author = Text::to_printable_string(body_item->get_author());
+ std::string description = Text::to_printable_string(body_item->get_description());
std::string clipboard = std::move(title);