I have the following markup:

<sp:Code text='&lt;sp:AssetList dataProvider="{provider}"/&gt;' size="4" 
style="white-space:break-spaces;”/>

I’m trying to display markup in the text property of a component.

It shoould be displayed as:
<sp:AssetList dataProvider="{provider}”/>

But it’s displayed as:
<sp:AssetList dataProvider="[object Object],[object Object],[object Object]”/>

It looks to me like the Royale compiler is evaluating the brackets in the text.

FWIW, I also tried:
<sp:Code text='&lt;sp:AssetList dataProvider="&#123;provider&#125;"/&gt;' 
size="4" style="white-space:break-spaces;"/>

and got the same result.

I think this is a bug. Thoughts?

Harbs

Reply via email to