Re: How can a php ng ban HTML tags posts?



grr wrote:
On Sat, 09 Aug 2008 01:50:06 +0200, Michael Fesser <netizen@xxxxxx> wrote:

There's no need to strip such tags from a plain text document either.
It's perfectly OK to reject HTML attachments and many news servers do
that, but it's totally braindead to reject plain text postings just
because they contain some tags

If the post contains HTML tags then it isnt plain text.

Like the man said - use a different forum if you dont like that one.



Wrong. Whether a post contains html tags or not is immaterial. It is the Content-Type header which determines whether it is plain text or not.

A plain text post can contain html tags <b>like this</b> which will be ignored by news readers.

New servers should be looking at the content-type header - perhaps his news reader was setting the wrong content-type.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================

.



Relevant Pages

  • Re: Recycler Folder in XP Pro
    ... My News Server, msnews.microsoft.com, has nothing to do with it. ... Consider that you are posting using Outlook Express formatted in HTML. ... support HTML can read the formatting. ... the message is displayed as plain text ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Weird Font Issue
    ... It's called 'Rich Text', Dave, a crossbreed between Plain and HTML ... I have never seen News Groups displaying Rich Text. ... More flexible news readers will remove the HTML and just display the ...
    (alt.graphics.photoshop)
  • Re: How can a php ng ban HTML tags posts?
    ... Jerry Stuckle wrote: ... Whether a post contains html tags or not is immaterial. ... It is the Content-Type header which determines whether it is plain text or not. ... So it looks like needless filtering on the news servers part as Jerry and others have pointed out. ...
    (comp.lang.php)
  • Re: How can a php ng ban HTML tags posts?
    ... If the post contains HTML tags then it isnt plain text. ... So it looks like needless filtering on the news servers part as Jerry and others have pointed out. ...
    (comp.lang.php)
  • Re: How can a php ng ban HTML tags posts?
    ... Whether a post contains html tags or not is immaterial. ... It is the Content-Type header which determines whether it is plain text or not. ... New servers should be looking at the content-type header - perhaps his news reader was setting the wrong content-type. ... So it looks like needless filtering on the news servers part as Jerry and others have pointed out. ...
    (comp.lang.php)