diff --git a/src/ct/ct_actions_others.cc b/src/ct/ct_actions_others.cc index 79357e67..fc97d562 100644 --- a/src/ct/ct_actions_others.cc +++ b/src/ct/ct_actions_others.cc @@ -284,7 +284,7 @@ void CtActions::link_clicked(const Glib::ustring& tag_property_value, bool from_ Glib::ustring clean_weblink = str::replace(link_entry.webs, "amp;", ""); if (_pCtMainWin->get_ct_config()->weblinkCustomOn) { - std::string cmd = fmt::sprintf(_pCtMainWin->get_ct_config()->weblinkCustomAct, clean_weblink); + std::string cmd = fmt::sprintf(_pCtMainWin->get_ct_config()->weblinkCustomAct, clean_weblink.raw()); int retr = std::system(cmd.c_str()); if (retr == -1) { // Internal std::system error