Details
-
Bug
-
Status: Closed
-
Resolution: Duplicate
-
2.5
-
None
-
None
-
Operating System: All
Platform: All
-
49411
Description
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.
Attachments
Issue Links
- duplicates
-
FOP-1133 Hyphenation does not play well with preserved linefeed-treatment or white-space-treatment
- Closed