[
https://issues.apache.org/jira/browse/FOP-2590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas L. Delmelle resolved FOP-2590.
--------------------------------------
Resolution: Not A Bug
No bug, but intended behaviour, as far as I know. An ampersand belongs to a
class of characters (PO - Postfix Numeric) that prohibits breaks in Unicode
UAX#14 line breaking rules (especially so when preceded or followed by digits
or letters).
One way to work around that would be to insert ZWSP before and/or after the
ampersands to allow line breaks.
> Text wrapping not working, when there is an ampersand (&) in the text
> ---------------------------------------------------------------------
>
> Key: FOP-2590
> URL: https://issues.apache.org/jira/browse/FOP-2590
> Project: FOP
> Issue Type: Bug
> Reporter: Murthy
> Attachments: screenshot.png
>
>
> Hi,
> I have the below 2 Texts and the one with the ampersand (&) is not wrapping
> the text within the block, and the one which has the text without it is
> wrapping,
> With ampersand (&):
> ====================
> Task: Task added without spaces for testing 31090 and sepertaed by commas
> from now one
> 11&ac,12&ac,13&ac,14&ac,15&ac,16&ac,11&ac,11&ac,11&ac,11&ac,11&ac,11&ac,11&ac,11&ac,11&ac,11&ac,16dfdfd
> Wihtout ampersand
> ====================
> Task: Task added without spaces for testing 31090 and sepertaed by commas
> from now one
> 11ac,12ac,13ac,14ac,15ac,16ac,11ac,11ac,11ac,11ac,11ac,11ac,11ac,11ac,11ac,11ac,16dfdfd
> Using FOP 1.0
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)