diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/ImageBoard.cpp | 2 | ||||
-rw-r--r-- | src/plugins/Page.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/ImageBoard.cpp b/src/plugins/ImageBoard.cpp index e1ee8fa..31e08ab 100644 --- a/src/plugins/ImageBoard.cpp +++ b/src/plugins/ImageBoard.cpp @@ -2,7 +2,7 @@ namespace QuickMedia { void ImageBoardThreadPage::copy_to_clipboard(const BodyItem *body_item) { - set_clipboard(body_item->get_title()); + set_clipboard(Text::to_printable_string(body_item->get_title())); } const std::string& ImageBoardThreadPage::get_pass_id() { 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); |