in reply to HTML tags to be filtered out

Like a good firewall layout, it could be easier to define what's allowed, not what's forbidden.

My vote is for B, I, OL, UL, LI, A (although this could be a hole too), HR, BR, P; maybe IMG, maybe Hx, maybe PRE and maybe TT.

Replies are listed 'Best First'.
RE: RE: HTML tags to be filtered out
by turnstep (Parson) on Aug 23, 2000 at 21:10 UTC

    Well, since we've started the "Allowed" list already, I'll add my $0.02, and rearrange the list from what I see as the least to most controversial:

    • CODE (of course)
    • STRONG, EM, B, I
    • BR, P
    • <!-- (comments - take a look, you might be surprised at what is already there!)
    • UL, OL, LI, MENU
    • DL, DT, DD (well, I still use them anyway)
    • BLOCKQUOTE (I use this often actually)
    • TT, ADDRESS
    • PRE (perlmonk's code does not always cut it)
    • SUB, SUP
    • A
    • DIV
    • HR

    Almost all of them should require a matching close code as well.