Tune up ios bubble style

// FREEBIE
This commit is contained in:
lilia 2016-08-29 01:11:13 -07:00
parent 8fbb0d05f5
commit 6c05a71424
5 changed files with 89 additions and 35 deletions

View file

@ -138,9 +138,11 @@
size: 16
});
var content = this.$('.content');
var escaped = content.html();
content.html(escaped.replace(/\n/g, '<br>').replace(URL_REGEX, "$1<a href='$2' target='_blank'>$2</a>"));
var body = this.$('.body');
if (body.length > 0) {
var escaped = body.html();
body.html(escaped.replace(/\n/g, '<br>').replace(URL_REGEX, "$1<a href='$2' target='_blank'>$2</a>"));
}
this.renderSent();
this.renderDelivered();