Re: strip_tags function [message #178776 is a reply to message #178773] |
Wed, 01 August 2012 04:56 |
Thomas 'PointedEars'
Messages: 701 Registered: October 2010
Karma:
|
Senior Member |
|
|
Tim Fardell wrote:
> Jerry Stuckle wrote:
>> On 7/31/2012 3:17 PM, Tim Fardell wrote:
>>> On Sat, 28 Jul 2012 12:42:59 +0200, Thomas 'PointedEars' Lahn
>>> <PointedEars(at)web(dot)de> wrote:
>>>> >> You are not making sense. The *input* data should *never* be "HTML
>>>> >> encoded".
>>>
>>> Wait, didn't you just say the opposite? If the input is not HTML-encoded
>>> then it is *critical* that any '<' character which does not form part of
>>> a tag is ignored. It is not, as my example above proves.
>>
>> You should have stopped right here. "Pointed Head" is a well known
>> troll in several newsgroups. He doesn't understand it is completely
>> valid to have HTML encoded strings - for instance, when using cURL to
>> retrieve a web page.
>
> Ah - that explains it :-)
Your misconceptions?
> I did wonder to be honest, which is why I didn't reply for a couple of
> days, but it got the better of me and I just *had* to respond in the end.
Which got you a constructive discussion in the end that you can *really*
learn from, if you are willing. Some people have jobs (which happen to be
in this industry), and cannot always reply in time.
> I'll leave it there - apologies for feeding the troll.
If you are this naive to blindly believe the first "opinion" that comes
along just because the topic turns out to be a little more complex than you
expected, then you better leave here, indeed.
PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$8300dec7(at)news(dot)demon(dot)co(dot)uk>
|
|
|