Commit b5561b7b authored by pznamensky's avatar pznamensky Committed by Guillaume Binet

sanitize comma quotation marks too (#1236)

parent c4ae3d15
......@@ -28,7 +28,7 @@ webroute = route # this allows plugins to expose dynamic webpages on Errbot emb
# Same happens with quotations marks, which are required for parsing
# complex strings in arguments
# Map of characters to sanitized equivalents
ARG_BOTCMD_CHARACTER_REPLACEMENTS = {'—': '--', '“': '"', '”': '"'}
ARG_BOTCMD_CHARACTER_REPLACEMENTS = {'—': '--', '“': '"', '”': '"', '’': '\'', '‘': '\''}
class ArgumentParseError(Exception):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment