1. <pre>
  2. Inside a pre<br>tag (&lt;br&gt; tags should be replaced with newline)
  3. <!--
  4. this is a comment inside a pre tag to show the problem with using regex to replace <br> tags inside <pre></pre> tags with newline and it shouldn't be modified at all
  5. -->
  6. </pre>
  7. outside a pre<br>tag (&lt;br&gt; tags should stay unmodified)
  8. <pre>
  9. Inside a pre<br>tag (&lt;br&gt; tags should be replaced with newline)
  10. </pre>