Bug 462570

Summary: weird hyphenation effects in <programlisting>
Product: [Community] Publican Reporter: Dana 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-18 02:02:29 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:

Description Dana Mison 2008-09-17 06:43:59 UTC
<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 22:07:49 UTC
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 Dana Mison 2008-09-18 00:27:37 UTC
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-18 00:41:38 UTC
Please update to version 0.37 as this bug should be fixed in the latest version.

Comment 4 Dana Mison 2008-09-18 01:21:31 UTC
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-18 02:02:29 UTC
(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.