Skip to content

Commit 356c717

Browse files
committed
History descriptions can have commas in them.
1 parent 81ea588 commit 356c717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/_ext/px_xlator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def depart_field_list(self, node):
4242
if self.history:
4343
self.body.append("<history>\n")
4444
for hist in self.history:
45-
when, what = hist.split(',')
45+
when, what = hist.split(',', 1)
4646
self.body.append("<what when='%s'>%s</what>\n" % (when, self.encode(what.strip())))
4747
self.body.append("</history>\n")
4848

0 commit comments

Comments
 (0)