break line issue in javaScript?
<p>I am receiving a comments from service.
If I get this comment "hello world" it is printing as it is but when I receive Comments like this 
"hello</p>

<p>world" then I am receiving nothing I write a function for it but it also doesn't work</p>

<pre><code>function NextLineFix(Call) {

        return Call.replace("\n", '&lt;br&gt;');
    }
</code></pre>

<p>Can any body help please....!</p>
