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, rlandman
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-10 04:15:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
example of fixed PDF output none

Description Jeff Fearn 🐞 2009-12-04 01:08:05 UTC
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-04 01:12:30 UTC
Re-factored method for structuring highlighted content.

Comment 2 Jeff Fearn 🐞 2009-12-04 01:39:34 UTC
Created attachment 375976 [details]
example of fixed PDF output

Comment 3 Fedora Update System 2009-12-08 02:15:26 UTC
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-08 02:18:45 UTC
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-10 04:14:21 UTC
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-10 04:27:12 UTC
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.