[Laszlo-user] How to only display a space or a non breaking space?
Dominic Marcotte
d.marcotte at usherbrooke.ca
Mon Nov 19 11:04:21 PST 2007
How to only display a space or a non breaking space?
I think Openlaszlo sometimes trim the content of elements.||
This code display "][" and not "] ["
<canvas height="100">
<text multiline="true" >
<font size="15">]</font>
<font size="10"> </font>
<font size="15">[</font>
</text>
</canvas>
I also tried with , and �A0; but I get "|Character
reference "" is an invalid XML character."|
In XSL, we can use "<xsl:preserve-space elements="xsl:text"/>" to
preserve space in xsl:text element. Is there something like that in
Openlaszlo?
Thanks
Dominic
More information about the Laszlo-user
mailing list