mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 00:07:57 -05:00
filters: Allow a links to have rel as soup replaces nofollow with them.
This commit is contained in:
@@ -171,7 +171,7 @@ class SouptestSaxHandler(ContentHandler):
|
||||
|
||||
markdown_ok_tags = {
|
||||
'div': ('class'),
|
||||
'a': set(('href', 'title', 'target', 'nofollow')),
|
||||
'a': set(('href', 'title', 'target', 'nofollow', 'rel')),
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user