It seems the following corrections of src/callback.c would be sufficient
(marked with //apl):
void on_context_action1_activate(GtkMenuItem *menuitem, gpointer user_data)
<...>
/* substitute the wildcard %s and run the command if it is non empty */
//apl if (G_LIKELY(!EMPTY(command)))
{
gchar *command_line = g_strdup(command);
command_line = build_replace_placeholder(doc, command_line); //apl
utils_str_replace_all(&command_line, "%s", word);
<...>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.