stripslashes issue
<p>I'm trying to condense/improve/optimize this code</p>

<pre><code>cleaned = stringwithslashes
cleaned = cleaned.replace("\\n", "\n")
cleaned = cleaned.replace("\\r", "\n")
cleaned = cleaned.replace("\\", "")
</code></pre>

<p>but the above code does not work correctly</p>
