Bug 461369
| Summary: | Publican incorrectly formats programlisting and screen sections | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Community] Publican | Reporter: | Jared Smith <jsmith.fedora> | ||||||
| Component: | publican | Assignee: | Jeff Fearn 🐞 <jfearn> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 1.6 | CC: | jsmith.fedora, mmcallis, publican-list | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 0.38 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2008-09-09 03:42:36 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Jared Smith
2008-09-06 20:15:57 UTC
Created attachment 315956 [details]
The generated PDF file
Murray McAllister kindly pointed out that this bug is probably related to bug #461221. Non-verbatim tags are fully entitled to munch you white space, even when nested inside verbatim tags. This was a bug! The new line was being removed from the verbatim tag itself and not from an inline tag within the verbatim tag. e.g. 1 This will, correctly, have it's new line removed because computeroutput is an inline tag and inline tags never, ever, EVER respect white space: <screen><computeroutput> Preparing... ######################################### [100%] 1:foo ######################################### [100%]</computeroutput></screen> e.g. 2 This would have it's new line removed because the userinput tag swallowed up the following new line: <programlisting> [root@localhost ~]# <userinput>mkdir /tmp/one</userinput> [root@localhost ~]# <userinput>mkdir /tmp/two</userinput> </programlisting> This second is a bug because the new line is in the verbatim screen tag and not inside the inline userinput tag. Changed white space munching code to respect new lines directly in verbatim tags regardless of what precedes them. Thanks for revisiting this one, Jeff! publican-0.38-0.fc9,perl-XML-TreeBuilder-3.09-11.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/publican-0.38-0.fc9,perl-XML-TreeBuilder-3.09-11.fc9 publican-0.38-0.fc9, perl-XML-TreeBuilder-3.09-11.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. |