Skip to content

Commit b5561b7

Browse files
pznamenskygbin
authored andcommitted
sanitize comma quotation marks too (#1236)
1 parent c4ae3d1 commit b5561b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

errbot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
# Same happens with quotations marks, which are required for parsing
2929
# complex strings in arguments
3030
# Map of characters to sanitized equivalents
31-
ARG_BOTCMD_CHARACTER_REPLACEMENTS = {'—': '--', '“': '"', '”': '"'}
31+
ARG_BOTCMD_CHARACTER_REPLACEMENTS = {'—': '--', '“': '"', '”': '"', '’': '\'', '‘': '\''}
3232

3333

3434
class ArgumentParseError(Exception):

0 commit comments

Comments
 (0)