[pLog-svn] stripping HTML in trackback sending

Oscar Renalias oscar at renalias.net
Mon Apr 30 13:58:49 EDT 2007


Well I suppose truncating a " " is one of those corner cases...  
I wouldn't worry too much about it, this has been there since day one :)

On 30 Apr 2007, at 20:07, Jon Daley wrote:

>  	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.
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>



More information about the pLog-svn mailing list