Simplification

This commit is contained in:
M66B 2019-01-07 07:43:50 +00:00
parent 6d0a61f9fc
commit 9e7e83e82c
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ public class HtmlHelper {
if (show) {
// Embedded images
if (embedded) {
String cid = "<" + source.split(":")[1] + ">";
String cid = "<" + source.substring(4) + ">";
EntityAttachment attachment = DB.getInstance(context).attachment().getAttachment(id, cid);
if (attachment == null) {
Drawable d = context.getResources().getDrawable(R.drawable.baseline_broken_image_24, context.getTheme());