Subject: | <anchor> tags are not closed |
Although SGML declaratins allow for <anchor> to be without a closing
tag, it would be nice for the module to output it as <anchor ... /> so
that XML parsers don't fuss. Patch is enclosed.
Subject: | DocBook.patch |
*** DocBook.pm Sun Jan 22 18:49:05 2006
--- DocBook.patch Sun Jan 22 18:56:17 2006
***************
*** 683,685 ****
$parser->_current_indent (),
! qq!<term><anchor id="$id">$paragraph</term>\n!,
$parser->_indent (),
--- 683,685 ----
$parser->_current_indent (),
! qq!<term><anchor id="$id" />$paragraph</term>\n!,
$parser->_indent (),
***************
*** 709,711 ****
$parser->_current_indent (),
! qq!<term><anchor id="$id">$paragraph</term>\n!,
$parser->_indent (),
--- 709,711 ----
$parser->_current_indent (),
! qq!<term><anchor id="$id" />$paragraph</term>\n!,
$parser->_indent (),