alecpl
2008-10-13 87b7959f2b6c79235ea54979c79a8562d291402f
- add empty line before signature


1 files modified
4 ■■■ changed files
program/js/app.js 4 ●●● patch | view | raw | blame | history
program/js/app.js
@@ -2094,6 +2094,8 @@
          message = message.substring(0, p-1) + message.substring(p+sig.length, message.length);
        }
      message = message.replace(/[\r\n]+$/, '');
      // add the new signature string
      if (this.env.signatures && this.env.signatures[id])
        {
@@ -2104,7 +2106,7 @@
          }
        if (sig.indexOf('-- ')!=0)
          sig = '-- \n'+sig;
        message += '\n'+sig;
        message += '\n\n'+sig;
        }
      }
    else