Skip to content
This repository has been archived by the owner on Jun 23, 2020. It is now read-only.

Commit

Permalink
Treat .htm files as html too.
Browse files Browse the repository at this point in the history
  • Loading branch information
protz committed Jan 3, 2012
1 parent 728e290 commit d184ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compose.js
Expand Up @@ -462,7 +462,7 @@ function getSignatureContentsForAccount(aIdentity) {
while (cstream.readString(4096, str) != 0) {
signature += str.value;
}
if (aIdentity.signature.path.match(/\.html$/)) {
if (aIdentity.signature.path.match(/\.html?$/)) {
signature = htmlToPlainText(signature);
}
} catch (e) {
Expand Down

0 comments on commit d184ab3

Please sign in to comment.