E-Mail Signature not correct stripped out


(Manfred Bayer Lemerz) #1

Hallo!

The official tag for the signature of an E-Mail ist "-- " so 2 dash and a blank . See also here: RFC 3676 - The Text/Plain Format and DelSp Parameters.

But discourse is only checking for “–” so only 2 dashes and this cut often also a text which is not part of the signature.

Can you Check?

thanks!

Manfred


(Jeff Atwood) #2

I know @zogstrip worked on this but the requiring of a space does not seem correct to me. Regardless, the presence of a space should not stop it from working…


(Manfred Bayer Lemerz) #3

No it is the other way around, the space is needed to be the right tag for a begin of an signature!


(Joshua Rosenfeld) #4

You may be interested in the discussion on the commit @zogstrip merged (and then reverted):

Original Meta Topic


(Matt Palmer) #5

It’s definitely supposed to be with the space to be a signature delimiter. However, William Shakespeare would be proud of the degree of “more honoured in the breach” on that one…


(Jeff Atwood) #6

@zogstrip I believe both of the following cases should work

--<newline>
-- <newline>

(Manfred Bayer Lemerz) #7

No Sorry this is not correct!

– IS not the tag for a signature, if you accept it as a tag it can happen that a text is stripped out which is not a signature!

But if you @codinghorror think both should work please make it with a parameter in the settings!

thanks


(Jeff Atwood) #8

I seriously doubt users understand this rule you’re describing.


(Régis Hanol) #9

Do you have examples that aren’t working so that I can check?


(Manfred Bayer Lemerz) #10

Sure I send you a e-mail with 2 attached mails. One where it is ok and one where it is wrong! Thanks for taking care!