mirror of
https://github.com/viq/NewsBlur.git
synced 2025-04-13 09:38:09 +00:00
Don't strip iframes from RSS.
This commit is contained in:
parent
45846d0d59
commit
047c86f8c8
1 changed files with 3 additions and 0 deletions
|
@ -28,7 +28,10 @@ from apps.notifications.tasks import QueueNotifications
|
|||
from apps.notifications.models import MUserFeedNotification
|
||||
from apps.push.models import PushSubscription
|
||||
from apps.statistics.models import MAnalyticsFetcher, MStatistics
|
||||
|
||||
import feedparser
|
||||
feedparser.sanitizer._HTMLSanitizer.acceptable_elements.update(['iframe'])
|
||||
|
||||
from utils.story_functions import pre_process_story, strip_tags, linkify
|
||||
from utils import log as logging
|
||||
from utils.feed_functions import timelimit, TimeoutError
|
||||
|
|
Loading…
Add table
Reference in a new issue