]> granicus.if.org Git - python/commit
convert(): Added parameter "autoclose", which should be a sequence of
authorFred Drake <fdrake@acm.org>
Wed, 20 Jan 1999 20:35:05 +0000 (20:35 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 20 Jan 1999 20:35:05 +0000 (20:35 +0000)
commit43278f01dc01b6cc2c0a2a66692de46e3a4fb400
tree16360cfe6fab3bfb43c6f020ef09c8c42020d703
parent0a5b8de5e2e948398e76d937e15e0518945fc49b
convert():  Added parameter "autoclose", which should be a sequence of
general identifiers for which closing tags will be omitted
when SGML is generated.  This can be used to tell the markup
generator to drop stuff like </para>.  Note that it needs to
be possible for the closing tag to *always* be omitted for it
to be included in "autoclose".

main():  Added command-line option "-a" / "--autoclose" to set the
list of general identifiers passed to the convert() function
as the "autoclose" parameter.  The list may only be specified
once (not additive) and GIs should be comma-separated.  The
default list includes only "para".
Doc/tools/sgmlconv/esis2sgml.py