[pLog-svn] stripping HTML in trackback sending

Jon Daley plogworld at jon.limedaley.com
Mon Apr 30 13:07:19 EDT 2007


 	Ah, I see.  We are stripping HTML tags, but not HTML entities. 
That seems like a fine thing to do, but we truncate using substr, which 
doesn't respect word boundaries.  Any ideas?

  On Mon, 30 Apr 2007, Jon Daley wrote:
> 	Also, I see that we aren't doing the right thing with stripping
> out HTML on the sending side.  Someone happened to have a " " right
> at the end of the 50 characters or whatever is sent, so the ";" was
> truncated, and "&nbsp" was sent.  I don't use trackbacks enough to fully
> test this, I think.


More information about the pLog-svn mailing list