don't strip all tags when checking if post content has updated -- images and stuff are important
This commit is contained in:
parent
750030dee6
commit
daa673f37b
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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'</?\w+[^>]*?>')
|
||||
TAG_RE = re.compile(r'</?(div|span)[^>]*?>')
|
||||
COMMENT_RE = re.compile(r'<!--[^>]*?-->')
|
||||
JAM_RE = re.compile(
|
||||
'\s*\u266b (?:https?://)?[a-z0-9._\-]+\.[a-z]{2,9}(?:/\S*)?')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue