We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd27046 commit fac5041Copy full SHA for fac5041
1 file changed
src/mako/cli/lib/argparse.mako
@@ -17,7 +17,7 @@
17
if isinstance(v, bool):
18
v = v and 'true' or 'false'
19
elif isinstance(v, basestring):
20
- v = '"%s"' % v
+ v = '"%s"' % v.replace('"', r'\"')
21
elif isinstance(v, list):
22
v = 'vec![%s]' % ','.join('UploadProtocol::%s' % p.capitalize() for p in v)
23
return 'Some(%s)' % v
0 commit comments