Hmm, don't we need it to load the config when we're not in web context?


On Fri, Apr 19, 2013 at 12:58 PM, Mark Smith <notifications@github.com>wrote:

> In cgi-bin/DW/CleanEmail.pm:
>
> > +        last if m/^\s*On.+wrote:\s*$/i;
> > +    }
> > +    @lines = splice @lines, 0, $count unless $count == 0;
> > +
> > +    return join "", @lines;
> > +}
> > +
> > +=head2 C<< $class->reply_subject( $text ) >>
> > +
> > +Clean out "Re:" from the subject
> > +
> > +=cut
> > +sub reply_subject {
> > +    my ( $class, $subject ) = @_;
> > +
> > +    $subject =~ s/^(Re:\s*)*//i;
>
> Also breaks for non-English. Someone was emailing me the other day and his
> email subjects were like "Mzr: Mzr:" or something strange.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/dreamwidth/dw-free/pull/346/files#r3867836>
> .
>