Tune up ios bubble style
// FREEBIE
This commit is contained in:
parent
8fbb0d05f5
commit
6c05a71424
5 changed files with 89 additions and 35 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue