From daa673f37b2178ac0cfc30bba89425891becee6b Mon Sep 17 00:00:00 2001 From: Kyle Mahan Date: Wed, 17 Feb 2016 22:13:56 +0000 Subject: [PATCH] don't strip all tags when checking if post content has updated -- images and stuff are important --- requirements.txt | 2 +- woodwind/tasks.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 76d6a0b..5c5b103 100644 --- a/requirements.txt +++ b/requirements.txt @@ -18,7 +18,7 @@ itsdangerous==0.24 Jinja2==2.8 MarkupSafe==0.23 mf2py==1.0.2 -mf2util==0.3.1 +mf2util==0.3.1.1 psycopg2==2.6.1 pyasn1==0.1.9 pycparser==2.14 diff --git a/woodwind/tasks.py b/woodwind/tasks.py index ec6d88a..c6c60f7 100644 --- a/woodwind/tasks.py +++ b/woodwind/tasks.py @@ -25,7 +25,7 @@ UPDATE_INTERVAL_PUSH = datetime.timedelta(days=1) TWITTER_RE = re.compile( r'https?://(?:www\.|mobile\.)?twitter\.com/(\w+)/status(?:es)?/(\w+)') -TAG_RE = re.compile(r']*?>') +TAG_RE = re.compile(r']*?>') COMMENT_RE = re.compile(r'') JAM_RE = re.compile( '\s*\u266b (?:https?://)?[a-z0-9._\-]+\.[a-z]{2,9}(?:/\S*)?')