Bug 544141

Summary: programlisting has extra top and bottom white space added
Product: [Community] Publican Reporter: Jeff Fearn <jfearn>
Component: publicanAssignee: Jeff Fearn <jfearn>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 1.6CC: daniel.w.ottey, jfearn, mmcallis, nb, publican-list, r.landmann
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.3-0.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-09 23:15:19 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Attachments:
Description Flags
example of fixed PDF output none

Description Jeff Fearn 2009-12-03 20:08:05 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):
1.2

How reproducible:
Always.

Steps to Reproduce:
1. write a programlisting
2. set language attribute
3. compile
  
Actual results:
Highlighted code block, with added top and bottom white space.

Expected results:
Highlighted code block, with white space that matches source.

Additional info:
This is due to an extra block level being added during the highlight process.
Comment 1 Jeff Fearn 2009-12-03 20:12:30 EST
Re-factored method for structuring highlighted content.
Comment 2 Jeff Fearn 2009-12-03 20:39:34 EST
Created attachment 375976 [details]
example of fixed PDF output
Comment 3 Fedora Update System 2009-12-07 21:15:26 EST
publican-1.3-0.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/publican-1.3-0.fc12
Comment 4 Fedora Update System 2009-12-07 21:18:45 EST
publican-1.3-0.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/publican-1.3-0.fc11
Comment 5 Fedora Update System 2009-12-09 23:14:21 EST
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.
Comment 6 Fedora Update System 2009-12-09 23:27:12 EST
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.