Hi All !!!
I have an HTML file whose contents are as below:
<html>
<body>
<title>This is a test file</title>
<p>PLEASE ALIGN
ME IN ONE
LINE. TEXT....</p>
<h2>This is a Test file</h2>
<p>PLEASE ALIGN
ME IN ONE
LINE. TEXT....</p>
</body>
</html>
As you see above, the text within <p> tags is broken/scrambled in multiple lines. I want to join these lines so that text within <p> tags comes in single line throughout the html file. So my OUTPUT should be as under::
<html>
<body>
<title>This is a test file</title>
<p>PLEASE ALIGN ME IN ONE LINE. TEXT....</p>
<h2>This is a Test file</h2>
<p>PLEASE ALIGN ME IN ONE LINE. TEXT....</p>
</body>
</html>
Thanks a lot in advance!!!