On Wed, Jun 24, 2015 at 12:18:54PM +0100, Gavin Smith wrote: > On 24 June 2015 at 01:43, Per Bothner <[email protected]> wrote: > > A buglet in the @sub handling, at least in docbook output: > > > Notice the <subscript> elements in the body, but they're missing in the > > <synopsis>. > > Which means inconsistent-looking output. > > Thanks for the report, I've fixed it. For some reason only some XML > elements are allowed as style attributes in a definition line, and now > <subscript> and <superscript> are on the list.
The reason why some elements only are allowed is to generate valid DocBook, as in <synopsis> not everything is accepted. I do not remember if <subscript> is allowed or not, I may have forgotten to add it. If it is not allowed, however, I think that inconsistent-looking output is better than invalid DocBook... -- Pat
