how to convert unordered list( UL, LI) to continuous string
<p>I want to convert following html code into continuous string using jquery/javascript.</p>

<pre><code>&lt;ul&gt; 
    &lt;li&gt;one&lt;/li&gt;
    &lt;li&gt;two&lt;/li&gt;
    &lt;li&gt;three&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>This is the html placed inside the textarea(with id "description") when I read these contains using  <code>$('#description').text()</code>, I get this description as</p>

<pre><code>one 
two 
three
</code></pre>

<p>instead I would like to get it as "one two three" i.e. continuous, any suggestion?</p>
