1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

slightly tighter regex for the cheesy "do I show images" button

This commit is contained in:
Jesse Vincent 2008-10-31 04:08:55 +00:00
parent 8431087ca9
commit 21f2d934b6

View File

@ -754,7 +754,7 @@ public class MessageView extends Activity
* 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.
*/
if (text.contains("img")) {
if (text.contains("<img")) {
mHandler.showShowPictures(true);
}