Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 5.2
-
Component/s: Old Core
-
Labels:
-
Tests:Unit
-
Development Priority:High
-
Difficulty:Easy
-
Documentation:N/A
-
Documentation in Release Notes:N/A
-
Similar issues:
Description
We have a document with an object of class "MyApp.MyClass" inside. This object has a static list property with values keys (which are translated in a translations document) .
Translations are something as follows:
MyApp.MyClass_prop_0=Foo's MyApp.MyClass_prop_1=Bar's MyApp.MyClass_prop_2=FooBar's
. We have the following code in a test document:
{{velocity}} #set($myDoc = $xwiki.getDocument("MySpace.MyDoc")) raw: $myDoc.display('prop') with html: {{html clean="false" wiki="false"}}$myDoc.display('prop'){{/html}} {{/velocity}}
On 4.1.4 it displays:
raw: Foo's with html: Foo's
On 5.2 it displays:
raw: Foo's with html: Foo's
Attachments
Issue Links
- is related to
-
XWIKI-8575 Separators of static lists replaced with white spaces on the edit display
-
- Closed
-
-
XWIKI-3250 Remove need to wrap Document.display() calls with the HTML macro when using the XWiki Syntax 2.0
-
- Closed
-