- Fix adding signature separator in html mode (#1485350)

release-0.6
alecpl 15 years ago
parent 157fcb81ea
commit 6e9f9fb9e6

@ -1,6 +1,7 @@
CHANGELOG RoundCube Webmail
===========================
- Fix adding signature separator in html mode (#1485350)
- Fix opening attachment marks message as read (#1485803)
- Fix 'temp_dir' does not support relative path under Windows (#1484529)
- Fix "Initialize Database" button missing from installer (#1485802)

@ -2210,6 +2210,13 @@ function rcube_webmail()
{
newsig = this.env.signatures[id]['text'];
htmlsig = this.env.signatures[id]['is_html'];
if (newsig) {
if (htmlsig && this.env.signatures[id]['plain_text'].indexOf('-- ')!=0)
newsig = '<p>-- </p>' + newsig;
else if (!htmlsig && newsig.indexOf('-- ')!=0)
newsig = '-- \n' + newsig;
}
}
if (htmlsig)

Loading…
Cancel
Save