Passing get parameter from javascript to php destroys formatting
<p>I format text with javascript asigning <code>+</code> to every emtpy space like this</p>

<pre><code>var ft = text.replace(/ /g,"+");
</code></pre>

<p>Then I pass <code>ft</code> to a php script via jquery ajax as an get argument.</p>

<p>But</p>

<pre><code>print $_GET['text'];
</code></pre>

<p>gives me the text with empty spaces instead +.</p>

<p>Any ideas?</p>
