https://issues.apache.org/bugzilla/show_bug.cgi?id=49411
Summary: using language attribute breaks
linefeed-treatment="preserve" rendered block
Product: Fop
Version: 0.95
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: fo tree
AssignedTo: [email protected]
ReportedBy: [email protected]
The following code:
<?xml version="1.0" encoding="iso-8859-1"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="my-page">
<fo:region-body margin="1in"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence hyphenate="true" language="en" master-reference="my-page">
<fo:flow flow-name="xsl-region-body">
<fo:block linefeed-treatment="preserve">First line
Second line</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
results in an output of:
FirstlineSecondline
FirstlineSecondline
Without the language="en" attribute the output is (as expected)
First line
Second line
This seems to be independent of the chosen output format.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.