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