Bug 462570

Summary: weird hyphenation effects in <programlisting>
Product: [Community] Publican Reporter: Darrin Mison <dmison>
Component: publicanAssignee: Jeff Fearn <jfearn>
Status: CLOSED NOTABUG QA Contact: Michael Hideo <mhideo>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.0CC: mmcallis, publican-list
Target Milestone: ---Keywords: Documentation
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-17 22:02:29 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:

Description Darrin Mison 2008-09-17 02:43:59 EDT
<programlisting>[when][]- the {attr} is in [ {values} ]={attr} in ( {values} )</programlisting>

produces: [when][]- the {attr} is in [ {values} -]={attr} in ( {values} -)

If I remove the two spaces towards the end

<programlisting>[when][]- the {attr} is in [ {values} ]={attr} in ({values})</programlisting>

produces: [when][]- the {attr} is in [ {values} -]={attr} in ({values})

In both cases undesired hypens appear in the presented text.
Comment 1 Jeff Fearn 2008-09-17 18:07:49 EDT
This report lacks the necessary information to assess it. 

Can you guess why the default template is there?

I need those details.

Please do not waste my time by opening bugs without those details.
Comment 2 Darrin Mison 2008-09-17 20:27:37 EDT
My bad.

Description of problem:
Erroneous hypen characters appear in <programlisting> content

Version-Release number of selected component (if applicable):
publican-redhat-0.14-0.el5
publican-doc-0.36-5.el5
publican-ovirt-0.3-0.el5
publican-fedora-0.14-0.el5
publican-gimp-0.1-0.t3.el5
publican-0.36-5.el5
publican-jboss-0.14-0.el5

How reproducible:  It doesn't consistantly occur in every usage of <programlisting> but where it does happen it happens everytime.

Steps to Reproduce:
1.sample xml content: 
<programlisting>[when][]- the {attr} is in [ {values} ]={attr} in ( {values} 
)</programlisting>

  
Actual results:
[when][]- the {attr} is in [ {values} -]={attr} in ( {values} -)

Expected results:
[when][]- the {attr} is in [ {values} -]={attr} in ( {values} )

Additional info:
Comment 3 Jeff Fearn 2008-09-17 20:41:38 EDT
Please update to version 0.37 as this bug should be fixed in the latest version.
Comment 4 Darrin Mison 2008-09-17 21:21:31 EDT
Updated to 0.37 & its good now.  Thanks.  I wasn't aware of 0.37, where would I normally find out when there is an update?
Comment 5 Jeff Fearn 2008-09-17 22:02:29 EDT
(In reply to comment #4)
> Updated to 0.37 & its good now.  Thanks.  I wasn't aware of 0.37, where would I
> normally find out when there is an update?

I suggest you run the CSB with yum-updatesb enabled.