forked from MarseyWorld/MarseyWorld
do smth i missed in a previous commit
parent
0bc3cbaaed
commit
249a9e685f
|
@ -449,7 +449,7 @@ def sanitize(sanitized, golden=True, limit_pings=0, showmore=False, count_emojis
|
|||
sanitized = sanitized.replace('<a href="/%21', '<a href="/!')
|
||||
|
||||
sanitized = reddit_mention_regex.sub(r'<a href="https://old.reddit.com/\1" rel="nofollow noopener" target="_blank">/\1</a>', sanitized)
|
||||
sanitized = hole_name_regex.sub(r'<a href="/\1">/\1</a>', sanitized)
|
||||
sanitized = hole_mention_regex.sub(r'<a href="/\1">/\1</a>', sanitized)
|
||||
|
||||
v = getattr(g, 'v', None)
|
||||
|
||||
|
|
Loading…
Reference in New Issue