Bug 773120 - <para> tags are ignored on txt format
Summary: <para> tags are ignored on txt format
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 2.8
Hardware: All
OS: Linux
unspecified
high
Target Milestone: 3.0
Assignee: Jeff Fearn 🐞
QA Contact: Ruediger Landmann
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-11 00:21 UTC by Tomas Dabašinskas
Modified: 2012-10-31 03:11 UTC (History)
4 users (show)

Fixed In Version: 3.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-31 03:11:41 UTC
Embargoed:


Attachments (Terms of Use)
test book (294.80 KB, application/x-gzip)
2012-01-11 00:21 UTC, Tomas Dabašinskas
no flags Details

Description Tomas Dabašinskas 2012-01-11 00:21:09 UTC
Created attachment 551974 [details]
test book

Description of problem:
When I build txt report any new paragraphs are ignored and content is pasted in single line, breaking only when page width exceeded. This works fine for html, html-single and pdf report (haven't tested on epub)

Version-Release number of selected component (if applicable):
version=2.8

How reproducible:
Build txt report

Steps to Reproduce:
1. publican build --formats=txt --langs=en-US
  
Actual results:
This is a test paragraph This is another test paragraph

Expected results:
This is a test paragraph
This is another test paragraph

Additional info:

<chapter>
	<title>Test Chapter</title>
	<para>
		This is a test paragraph
	</para>
        <para>
                This is another test paragraph
        </para>
</chapter>

Comment 1 Ruediger Landmann 2012-03-12 23:48:53 UTC
I can reproduce this in publican-2.8-1.fc16

Moving upstream.

Comment 2 Jeff Fearn 🐞 2012-03-15 04:04:41 UTC
This is due to us changing the para tag from P to DIV. Using P allows invalid HTML generation due to nesting. Added work around for txt output.

Pushed To ssh://git.fedorahosted.org/git/publican.git
   c3ba47b..8d1c0c5  master -> master

Comment 3 Misha H. Ali 2012-04-22 21:06:25 UTC
Confirmed text between one pair of para tags appears as a single paragraph and subsequent paras appear as different paragraphs.

OS: Fedora 16
Publican: 3.0
Release designation: publican-3.0-0.fc16.t166.src.rpm


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