Opened 15 years ago

Closed 14 years ago

#1171 closed Bugs (fixed)

Quickbook title output

Reported by: Joel de Guzman Owned by: Joel de Guzman
Milestone: To Be Determined Component: quickbook
Version: Boost 1.34.1 Severity: Problem
Keywords: Cc:

Description

Change History (1)

comment:1 by Daniel James, 14 years ago

Resolution: fixed
Status: newclosed

John Maddock:

Any chance of a minor patch to quickbook so it doesn't split section titles across multiple lines?

For example:

[section:mbessel Modified Bessel Functions of the First and Second Kinds]

Ends up as:

      <title><link linkend="math_toolkit.special.bessel.bessel"> Bessel Functions
      of the First and Second Kinds</link></title>

Then when XSLT->HTML generates the "title" attribute of links into that section, it helpfully preserves the newlines and whitespace, leading to popup tooltips that either contain "bad characters" (Firefox), or which are split over multiple lines complete with surplus whitespace (IE7).

Someone changed the output of quickbook so that the linkend is no longer part of the title so newlines are less likely. But they still happen for very long titles.

But I don't think this is a quickbook bug, it's a docbook bug that it was generating invalid title attributes. And it appears to be fixed in the latest docbook xsl stylesheets.

Note: See TracTickets for help on using tickets.