From 201135cc21cff8dc7e269d1bfc8f188fcccb21cf Mon Sep 17 00:00:00 2001 From: Stuart Mumford Date: Mon, 27 Dec 2021 19:51:13 +0000 Subject: [PATCH] sanitisation --- org-clock-waybar.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/org-clock-waybar.el b/org-clock-waybar.el index d15e82d..8a5f7f2 100644 --- a/org-clock-waybar.el +++ b/org-clock-waybar.el @@ -122,7 +122,11 @@ value of `org-clock-waybar-not-clocked-in-text'." This function is ought to be used via Emacsclient: emacsclient --eval '(org-clock-waybar-output-task)'" - (org-clock-waybar--get-clocked-task-json)) + (let* ((output (org-clock-waybar--get-clocked-task-json)) + (start 0) + (end (length output))) + (set-text-properties start end nil output) + output)) (defun org-clock-waybar-setup () "Setup org-clock-waybar. -- 2.45.2