Escape ' and " in matches tag

pull/109/head
blotus 2013-01-25 13:37:22 +01:00
parent 9a39292813
commit 96eb8986cc
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ class Action:
return Action.executeCmd(stopCmd)
def escapeTag(tag):
for c in '\\#&;`|*?~<>^()[]{}$\n':
for c in '\\#&;`|*?~<>^()[]{}$\n\'"':
if c in tag:
tag = tag.replace(c, '\\' + c)
return tag