Apply tuple_args_guard.patch [ 2993967 ]
commit326094fb00c8b4b3a92e09c02f1996070aa80004
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Tue, 7 Jun 2011 15:05:58 +0000 (7 15:05 +0000)
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Tue, 7 Jun 2011 15:05:58 +0000 (7 15:05 +0000)
tree4c7d19a454a2f4551373534641ba353500f55437
parentf65bf2c562453fc04bce7c0b0435604d477c9469
Apply tuple_args_guard.patch [ 2993967 ]

When there are any attributes which have tuple attribute values DOM
rendering fails because string interpolation receives a wrong number
of arguments. It needs to be safeguarded against this case by
carefully packing the values into a tuple beforehand.

This problem might crop up in other places as well.

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7054 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
docutils/nodes.py