Advertisement
Guest User

Untitled

a guest
Jun 13th, 2010
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.40 KB | None | 0 0
  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>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement