better signature detection
This commit is contained in:
2
quote.js
2
quote.js
@@ -24,7 +24,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
//cut the signature
|
//cut the signature
|
||||||
var signPosition = text.lastIndexOf('-- ');
|
var signPosition = text.lastIndexOf('\n-- \n') + 1;
|
||||||
if (signPosition > 0) {
|
if (signPosition > 0) {
|
||||||
text = text.substr(0, signPosition);
|
text = text.substr(0, signPosition);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user