Is it possible to replace newlines with the br tag but to ignore newlines that follow a </h1> tag?
So for example I want to change this block:
<h1>Test</h1> \n some test here \n and here
To this:
<h1>Test</h1> some test here <br /> and here
Thanks.