Bug 971221 - An empty line is inserted in a step of procedure
Summary: An empty line is inserted in a step of procedure
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 3.2
Assignee: Jeff Fearn 🐞
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-06 03:35 UTC by Yuko Katabami
Modified: 2013-08-09 04:48 UTC (History)
5 users (show)

Fixed In Version: 3.2.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-09 04:48:27 UTC
Embargoed:


Attachments (Terms of Use)

Description Yuko Katabami 2013-06-06 03:35:55 UTC
Description of problem:
When building a book using publican, an empty line is inserted in a step (of a procedure) where a <step id="step-subnet"> tag is used.

Version-Release number of selected component (if applicable):
publican-3.1.5-0

How reproducible: Always


Steps to Reproduce:
1. Build a book which contains a <step id="step-subnet"> tag
2. Check the applicable section

Actual results:
There is an odd empty line inserted (the same line where the step number is placed)

Expected results:
There should be no empty line - the step number should be followed by the actual step

Additional info:
According to Rudi, en-US version has a temporary workaround, which is to replace the <step id="step-subnet"> tag with <step>, however this cannot be applied to localized versions.

Comment 3 Ruediger Landmann 2013-06-06 03:39:58 UTC
More generally, when a <step> has an id allocated, the associated anchor tag creates a newline. So:

<step id="step-subnet">
            <title>Identify the appropriate subnet</title>

is rendered:

<ol class="1"><li class="step"><a id="step-subnet"></a><p class="title"><strong>Identify the appropriate subnet</strong></p>

Comment 5 Jeff Fearn 🐞 2013-06-17 22:59:51 UTC
Rudi, can you test this css to see if it fixes this?

li.step > a:first-child { display: none; }	

You'll need to make sure the link still works.

Comment 7 Ruediger Landmann 2013-07-09 04:25:41 UTC
(In reply to Jeff Fearn from comment #5)
> Rudi, can you test this css to see if it fixes this?
> 
> li.step > a:first-child { display: none; }	
> 
> You'll need to make sure the link still works.

Confirmed this fixes the formatting issue and that the link still works.

Comment 8 Jeff Fearn 🐞 2013-07-09 07:07:12 UTC
To ssh://git.fedorahosted.org/git/publican.git
   4dffa35..d350f93  HEAD -> devel

Comment 9 HSS Product Manager 2013-07-09 07:07:36 UTC
HSS-QE has reviewed and declined this request. QE for this bug will be handled by IED.

Comment 10 Scott Radvan 2013-07-19 01:46:01 UTC
verified that no extra line is added when <step> has an id

publican-3.1.5-0.fc19.t61.noarch

Comment 11 Jeff Fearn 🐞 2013-08-09 04:48:27 UTC
The fix for this bug has been shipped in publican 3.2.0


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