Bug 461221 - line breaks are ignored when lines start with <replaceable> within <screen>
Summary: line breaks are ignored when lines start with <replaceable> within <screen>
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: publican-fedora
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-05 04:29 UTC by Murray McAllister
Modified: 2015-01-04 22:35 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-09-09 03:40:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
No line break (as expected) (12.36 KB, image/png)
2008-09-05 04:29 UTC, Murray McAllister
no flags Details
No line break. This is not expected. (13.77 KB, image/png)
2008-09-05 04:30 UTC, Murray McAllister
no flags Details
No line breaks. Not expected (32.88 KB, image/png)
2008-09-05 05:17 UTC, Murray McAllister
no flags Details

Description Murray McAllister 2008-09-05 04:29:48 UTC
Created attachment 315827 [details]
No line break (as expected)

Version-Release number of selected component (if applicable):
* Red Hat Enterprise Linux Client release 5.2 (Tikanga)
* publican-fedora-0.14-0.el5
* publican-0.36-5.el5

How reproducible:
Alwayz :(

Steps to Reproduce:
1:

<screen>
<replaceable>--2008-09-05 12:06:03--</replaceable>  http://localhost/testfile
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [text/plain]
Saving to: `testfile'

[ &lt;=&gt;                                    ] 0           --.-K/s   in 0s
<replaceable>2008-09-05 12:06:03</replaceable> (0.00 B/s) - `testfile' saved [0/0]
</screen>

Results: see 1.png

2:

<screen>
<replaceable>--2008-09-05 12:06:03--</replaceable>  http://localhost/testfile
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [text/plain]
Saving to: `testfile'

[ &lt;=&gt;                                    ] 0           --.-K/s   in 0s






<replaceable>2008-09-05 12:06:03</replaceable> (0.00 B/s) - `testfile' saved [0/0]
</screen>

Results: see 2.png


Expected results:
A line break between "[ &lt;=&gt;                                    ] 0           --.-K/s   in 0s" and the date on the following line.

I do not have to use replaceable here, so feel free to close...

Comment 1 Murray McAllister 2008-09-05 04:30:31 UTC
Created attachment 315828 [details]
No line break. This is not expected.

Comment 2 Jeff Fearn 🐞 2008-09-05 04:44:06 UTC
Actually the bug here is because the previous line is being line wrapped due to it's length. Introducing a non-verbatim element at this point introduces an interesting question as to what the correct result should be.

If this is in HTML then it is a borwser issue.

If it id PDF then it may be a tool chain issue.

Please include such information when reporting visual issues as they varying outputs have unrelated tooling issues.

Comment 3 Murray McAllister 2008-09-05 05:17:10 UTC
Previous screenshots are HTML in Firefox 3.0.1 (the naughty, upstream, non-packaged version).

Same issue occurs in PDF (viewed with evince-0.6.0-8.el5).

Comment 4 Murray McAllister 2008-09-05 05:17:51 UTC
Created attachment 315830 [details]
No line breaks. Not expected

Comment 5 Murray McAllister 2008-09-05 05:20:09 UTC
Bah. comment #4 is from PDF (evince-0.6.0-8.el5)

Comment 6 Jeff Fearn 🐞 2008-09-09 03:40:21 UTC
Non-verbatim tags are fully entitled to munch you white space, even when nested inside verbatim tags.


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