in reply to Re: Empty tags cleaner regex (for pre-validated XHTML)
in thread Empty tags cleaner regex (for pre-validated XHTML)

I've never really used TreeBuilder; once months ago for a test. Thanks for suggesting it. It might let me do everything at once. In this case, it's for user provided input; no tables will be allowed and typographically speaking, paragraph tags are an invalid way to achieve formatting. Should be CSS or at worst, <br />s.

  • Comment on Re^2: Empty tags cleaner regex (for pre-validated XHTML)