email-reply-parser
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -5,3 +5,3 @@ var FragmentDTO = require("./fragmentdto"); | ||
const SIG_REGEX = /(?:^\s*--|^\s*__|^-\w|^-- $)|(?:^Sent from my (?:\s*\w+){1,4}$)|(?:^={30,}$)$/; | ||
const SIG_REGEX = /(?:^\s*--|^\s*__|^-\w|^-- $)|(?:^Sent from (?:\s*.+)$)|(?:^={30,}$)$/; | ||
@@ -8,0 +8,0 @@ const QUOTE_REGEX = /(>+)$/; |
{ | ||
"name": "email-reply-parser", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Node library for parsing plain text email content. Based on https://github.com/willdurand/EmailReplyParser", | ||
@@ -5,0 +5,0 @@ "main": "lib/emailreplyparser.js", |
I get proper rendering as well. | ||
Sent from a magnificent torch of pixels | ||
Sent a magnificent torch of pixels | ||
@@ -5,0 +5,0 @@ On Dec 16, 2011, at 12:47 PM, Corey Donohoe |
@@ -287,1 +287,11 @@ var fs = require("fs"); | ||
}; | ||
exports.test_test_from = function(test) { | ||
let email = get_email("email_sent_from"); | ||
let fragments = email.getFragments(); | ||
test.equal(email.getVisibleText(), "Hi it can happen to any texts you type, as long as you type in between words or paragraphs.\n"); | ||
test.done(); | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
70941
397