Sanitize referenced text

This commit is contained in:
M66B 2019-01-21 19:24:28 +00:00
parent d73f8ab116
commit 1fda1b061a
1 changed files with 1 additions and 1 deletions

View File

@ -2086,7 +2086,7 @@ public class FragmentCompose extends FragmentBase {
Spanned spannedReference = null; Spanned spannedReference = null;
File refFile = EntityMessage.getRefFile(context, id); File refFile = EntityMessage.getRefFile(context, id);
if (refFile.exists()) { if (refFile.exists()) {
String quote = Helper.readText(refFile); String quote = HtmlHelper.sanitize(Helper.readText(refFile), true);
Spanned spannedQuote = Html.fromHtml(quote, Spanned spannedQuote = Html.fromHtml(quote,
new Html.ImageGetter() { new Html.ImageGetter() {
@Override @Override