properly escape subtitle in Spontit integration

pull/354/head
Chris Caron 2021-02-06 15:27:13 -05:00
parent 5f945ceef7
commit b322e24b1b
1 changed files with 2 additions and 1 deletions

View File

@ -365,7 +365,8 @@ class NotifySpontit(NotifyBase):
# Support MacOS subtitle option
if 'subtitle' in results['qsd'] and len(results['qsd']['subtitle']):
results['subtitle'] = results['qsd']['subtitle']
results['subtitle'] = \
NotifySpontit.unquote(results['qsd']['subtitle'])
# Support the 'to' variable so that we can support targets this way too
# The 'to' makes it easier to use yaml configuration