Show images inline

This commit is contained in:
M66B
2018-08-24 19:58:52 +00:00
parent b9ef1ec8f9
commit b652db3e09
6 changed files with 122 additions and 8 deletions

View File

@@ -95,6 +95,7 @@ public class HtmlHelper implements NodeVisitor {
alt = context.getString(R.string.title_image);
alt = Html.escapeHtml(alt);
sb.append(" ").append(String.format("<a href=\"%s\">%s [%d]</a>", ref, alt, refs.size()));
sb.append("<img src=\"" + ref + "\" alt=\"" + alt + "\">");
}
}
}