Red Hat Bugzilla – Bug 544141
programlisting has extra top and bottom white space added
Last modified: 2010-11-23 23:20:17 EST
Description of problem:
When programlisting has syntax highlighting applied and extra line is added to the top and the bottom. This looks odd in small code samples.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. write a programlisting
2. set language attribute
Highlighted code block, with added top and bottom white space.
Highlighted code block, with white space that matches source.
This is due to an extra block level being added during the highlight process.
Re-factored method for structuring highlighted content.
Created attachment 375976 [details]
example of fixed PDF output
publican-1.3-0.fc12 has been submitted as an update for Fedora 12.
publican-1.3-0.fc11 has been submitted as an update for Fedora 11.
publican-1.3-0.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
publican-1.3-0.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.