Skip to content

Commit 435e631

Browse files
authored
Need to close img tags (#1)
* close img tags * close img tags
1 parent 134cebb commit 435e631

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tls_icon.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ public function message_headers($p)
5353

5454
$this->icon_img .= '<img class="lock_icon" src="plugins/tls_icon/lock.svg" title="'. htmlentities($data) .'" />';
5555
} else if(preg_match_all('/\([a-zA-Z]*, from userid [0-9]*\)/im', $Received, $items, PREG_PATTERN_ORDER)){
56-
$this->icon_img .= '<img class="lock_icon" src="plugins/tls_icon/blue_lock.svg" title="Mail was internal"';
56+
$this->icon_img .= '<img class="lock_icon" src="plugins/tls_icon/blue_lock.svg" title="Mail was internal" />';
5757
}
5858
else {
5959
// TODO: Mails received from localhost but without TLS are currently flagged insecure
60-
$this->icon_img .= '<img class="lock_icon" src="plugins/tls_icon/unlock.svg" title="Message received over an unencrypted connection!"';
60+
$this->icon_img .= '<img class="lock_icon" src="plugins/tls_icon/unlock.svg" title="Message received over an unencrypted connection!" />';
6161
}
6262
}
6363

@@ -69,4 +69,4 @@ public function message_headers($p)
6969

7070
return $p;
7171
}
72-
}
72+
}

0 commit comments

Comments
 (0)