Bug 544141 - programlisting has extra top and bottom white space added
Summary: programlisting has extra top and bottom white space added
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 1.6
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-04 01:08 UTC by Jeff Fearn 🐞
Modified: 2010-11-24 04:20 UTC (History)
6 users (show)

Fixed In Version: 1.3-0.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-10 04:15:19 UTC


Attachments (Terms of Use)
example of fixed PDF output (34.23 KB, image/png)
2009-12-04 01:39 UTC, Jeff Fearn 🐞
no flags Details

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.


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