Closed Zabadam closed 3 years ago
As a workaround I have added a .replaceAll('&s;', ' ')
check to e.value
;
employed in .JSON database thusly:
"A finely crafted hat adorned with an inky black strand of <link npc='crow'>
Crow</link>
&s;<link id='feather'>
feather</link>
. Well-suited for the hero that strikes from afar." (no space between consecutive tags, only '&s;')
When rendered in my application, the String has an appropriate space between the consectuive tags because there is a third recognized symbol between them injecting it; resulting in: "A finely crafted hat adorned with an inky black strand of Crow feather. Well-suited for the hero that strikes from afar."
@Zabadam A issue was fixed in xmlstream, I released a new version where the problem was fixed.
Example
I have a
description
property that is a passed to aStyledText()
widget.One such
description
reads: "A finely crafted hat adorned with an inky black strand of<link npc='crow'>
Crow</link>
<link id='feather'>
feather</link>
. Well-suited for the hero that strikes from afar."When rendered in my application, the String has lost the space between the consectuive
<link>
tags, resulting in: "A finely crafted hat adorned with an inky black strand of Crowfeather. Well-suited for the hero that strikes from afar."