StringTokenizer split at "<br/>"
<p>Maybe I am stupid but I don't understand why the behaviour of StringTokenizer here:</p>

<pre><code>import static org.apache.commons.lang.StringEscapeUtils.escapeHtml;

String object = (String) value;
String escaped = escapeHtml(object);
StringTokenizer tokenizer = new StringTokenizer(escaped, escapeHtml("&lt;br/&gt;"));
</code></pre>

<p>If fx. value is </p>

<pre><code>Hej&lt;br/&gt;$user.get(0).name Har vundet&lt;br/&gt;&lt;table border='1'&gt;&lt;tr&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Played&lt;/th&gt;&lt;th&gt;Brewed&lt;/th&gt;&lt;/tr&gt;#foreach( $u in $user )&lt;tr&gt;&lt;td&gt;$u.name&lt;/td&gt; &lt;td&gt;$u.played&lt;/td&gt; &lt;td&gt;$u.brewed&lt;/td&gt;&lt;/tr&gt;#end&lt;/table&gt;&lt;br/&gt;
</code></pre>

<p>Then the result is </p>

<pre><code>Hej
$use
.
e
(0).name Ha
 vunde
a
e 
o
de
='1'
h
Name
h
h
P
ayed
h
h
B
ewed
h
#fo
each( $u in $use
 )
d
$u.name
d

d
$u.p
ayed
d

d
$u.
ewed
d
#end
a
e
</code></pre>

<p>It makes no sense to me.</p>

<p>How can I make it behave as I expect to.</p>
