Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tasknote
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ $SHELL -c "$EDITOR $file"
# Create a note message representing the first line of
# the edited note file.
if [ -f $file ]; then
NOTEMSG="[tasknote] `head -1 $file`"
# build the note message protecting single quotes
NOTEMSG="[tasknote] $( head -1 $file | sed -e "s,','\"'\"',g" )"
# remove any previous annotation - we want only a single
# tasknote annotation. Detection works through the
# [tasknote] annotation prefix
Expand Down