I have a php file
test.php
<!DOCTYPE html>
<html>
<head>
<script src="/jquery.js"> </script>
<script>
$(document).ready(function(){
$.post("/text.php",function(result){ $("body").append(result);});
});
</script>
</head>
<body>
</body>
</html>
text.php
hello
far
faar
faar
We know In html, All line breaks and spaces , automatically reduced to single space ,But in this case
line breaks increasing the space between words
Any ideas ? please