Bug 773120

Summary: <para> tags are ignored on txt format
Product: [Community] Publican Reporter: Tomas DabaĊĦinskas <tdabasin>
Component: publicanAssignee: Jeff Fearn <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: Ruediger Landmann <rlandman>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.8CC: mhusnain, mmcallis, r.landmann, rlandman
Target Milestone: 3.0   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: 3.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-30 23:11:41 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
test book none

Description Tomas DabaĊĦinskas 2012-01-10 19:21:09 EST
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):

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:

	<title>Test Chapter</title>
		This is a test paragraph
                This is another test paragraph
Comment 1 Ruediger Landmann 2012-03-12 19:48:53 EDT
I can reproduce this in publican-2.8-1.fc16

Moving upstream.
Comment 2 Jeff Fearn 2012-03-15 00:04:41 EDT
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 17:06:25 EDT
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