mirror of https://github.com/M66B/FairEmail.git
Sanitize referenced text
This commit is contained in:
parent
d73f8ab116
commit
1fda1b061a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue