1. protz
  2. pygments-main

Commits

protz  committed 1c3ce42

Fix options with "=" in them.

  • Participants
  • Parent commits 7304e47
  • Branches fix-options

Comments (0)

Files changed (1)

File pygments/cmdline.py

View file
         for o_arg in o_args:
             o_arg = o_arg.strip()
             try:
-                o_key, o_val = o_arg.split('=')
+                o_key, o_val = o_arg.split('=', 1)
                 o_key = o_key.strip()
                 o_val = o_val.strip()
             except ValueError: