Or it could all be done on the server side

by scarab @, Saturday, February 16, 2013, 17:08 (4297 days ago) @ scarab
edited by scarab, Saturday, February 16, 2013, 17:23

It's a trade off - client side means more text sent (unless JS is cached) - server side means more work for server (PHP)

And it's not just non-blank text that should be ignored we should also treat bold tags and their ilk as blank text (white space).""

Quote this message to see the tags in the quoted string above.

-PS I would probably do it on the server side because we only get a few hundred msgs posted per day. That wouldn't be a great load on the server. Though I expect that modifying default behaviour makes life difficult when the base software is upgraded. There is a maintenance cost. (I suppose)


Complete thread:

 RSS Feed of thread