View Full Version : < in a button doesn't seem to work
jeffburton
03-21-2005, 02:29 PM
In the following example, < does not work, but > does. I am using 3.0b2. BTW, < doesn't work either.
<canvas width="100%" height="100%">
<button text="<"/>
<button text=">"/>
<simplelayout axis="x"/>
</canvas>
jeffburton
03-21-2005, 02:30 PM
whoops, darn html - I meant &#60; doesn't work either.
Try double quoting it
&lt;
Ah sh*t, the forums code unescaped me. I meant
&amp;lt;
jeffburton
03-21-2005, 03:42 PM
That's bizarre - it worked. Thanks, but it still seems like some kind of bug.
Well, the text fields supports a very simple subset of HTML, so if you stick a <b>foo</b> in there, you will get bold text, etc. If you stick a '<' it will look like an unclosed tag.
Maybe we should have an option to text
<text verbatim='true'> or something, to inhibit the
HTML display.
jeffburton
03-21-2005, 04:11 PM
As long as it works - I don't think it's a big deal.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.