in reply to Re: HTML stripper...
in thread HTML stripper...

Did you even read what you linked to? There is nothing in there about requiring a space before the closing dashes. The only whitespace rules they mention are basically:
Legal: "<!--" Illegal: "<! --" -and- Legal: "-->" Legal: "-- >"

Elda Taluta; Sarks Sark; Ark Arks

Replies are listed 'Best First'.
Re^3: HTML stripper...
by kcott (Archbishop) on Nov 22, 2010 at 23:39 UTC
    "Did you even read what you linked to?"

    That's fairly unpleasant, bordering on rudeness.

    Note the <!-- (at the start of the regex) and the -- \s* > (at the end of the regex) which deals with those rules.

    Also take a look at my updated post which indicates more of what I read.

    -- Ken