Add field name as class argument to generic docinfo fields unconditionally.
commitcc4e15732514f1bcbdb838275bebccc9c8dbe2ef
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Fri, 6 Oct 2017 09:00:00 +0000 (6 09:00 +0000)
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Fri, 6 Oct 2017 09:00:00 +0000 (6 09:00 +0000)
tree7da5e07a084869b72aad8f2f8ffec5e3a4ea76af
parentd555f3b531171d02cee125f375c25c034c790bda
Add field name as class argument to generic docinfo fields unconditionally.

Also add the field name, if the DocInfo tranform fails to
converts a bibliographic field list into a docinfo element.

This allows styling of, e.g., a "copyright" element that also contains
a license as separate paragraph when suppressing the warning (cf. Bug [325]).

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8183 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
docutils/HISTORY.txt
docutils/docutils/transforms/frontmatter.py
docutils/test/test_transforms/test_docinfo.py