Bug 460393 - Different spacing before & after <programlisting>
Summary: Different spacing before & after <programlisting>
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 1.6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-28 01:28 UTC by Dana Mison
Modified: 2010-11-24 04:18 UTC (History)
2 users (show)

Fixed In Version: 0.35
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-08-28 01:53:51 UTC
Embargoed:


Attachments (Terms of Use)

Description Dana Mison 2008-08-28 01:28:14 UTC
The spacing after <programlisting> is less than the spacing before it.  It makes the content after it look associated, almost like a title, especially if it is only a single line.  Ideally the spacing either side should be the same.

I have only noticed this in html, I haven't checked pdf.

Example code & screenshot of this attached.
<para>The database can be automatically created if the specified user has enough rights to create tables. 
        Next make sure the isCreateDatabase flag is set to true, and that the sqlFiles parameter settings point 
        to the database you are using. The jUDDI creation scripts are located in the <filename>juddi.jar</filename>.</para>

<programlisting>&lt;!-- &lt;entry key=”juddi.tablePrefix”&gt;JUDDI_&lt;/entry&gt; --&gt;
&lt;entry key="juddi.isCreateDatabase"&gt;true&lt;/entry&gt;
&lt;entry key="juddi.databaseExistsSq"&gt;select * from ${prefix}BUSINESS_ENTITY
&lt;/entry&gt;
&lt;entry key="juddi.sqlFiles"&gt;
	juddi-sql/mysql/create_database.sql,
	juddi sql/mysql/insert_publishers.sql
&lt;/entry&gt;</programlisting>
        
        <para>jUDDI supports the following databases:</para>

Comment 1 Jeff Fearn 🐞 2008-08-28 01:53:51 UTC
We have done some major work on fixing the white space for the next version, in both HTML and PDF.

0.35 will be out with the week.

Cheers, Jeff.


Note You need to log in before you can comment on or make changes to this bug.