mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -05:00
slightly tighter regex for the cheesy "do I show images" button
This commit is contained in:
parent
8431087ca9
commit
21f2d934b6
@ -754,7 +754,7 @@ public class MessageView extends Activity
|
|||||||
* TODO this should be smarter, change to regex for img, but consider how to
|
* TODO this should be smarter, change to regex for img, but consider how to
|
||||||
* get backgroung images and a million other things that HTML allows.
|
* get backgroung images and a million other things that HTML allows.
|
||||||
*/
|
*/
|
||||||
if (text.contains("img")) {
|
if (text.contains("<img")) {
|
||||||
mHandler.showShowPictures(true);
|
mHandler.showShowPictures(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user