summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-08-04 15:36:50 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-08-04 15:36:50 -0400
commitf3d2c45de8232b64967816f02e280cb58f4fa4f1 (patch)
treea971693a9a3ffa52c0df961364990a421caef14d
parent14db3d2a9d9989dfc83296d341c3312186e0cff4 (diff)
downloadaskbot-f3d2c45de8232b64967816f02e280cb58f4fa4f1.tar.gz
askbot-f3d2c45de8232b64967816f02e280cb58f4fa4f1.tar.bz2
askbot-f3d2c45de8232b64967816f02e280cb58f4fa4f1.zip
fixes tag navigation bug when users attempts to delete a tag
-rw-r--r--askbot/utils/html.py2
-rw-r--r--askbot/views/readers.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/askbot/utils/html.py b/askbot/utils/html.py
index 72947204..47165e3b 100644
--- a/askbot/utils/html.py
+++ b/askbot/utils/html.py
@@ -81,7 +81,7 @@ def urlize_html(html):
if unicode(node) == urlized_text:
continue
- sub_soup = BeautifulSoup(urlize(node), 'html5lib')
+ sub_soup = BeautifulSoup(urlized_text, 'html5lib')
contents = sub_soup.find('body').contents
num_items = len(contents)
for i in range(num_items):
diff --git a/askbot/views/readers.py b/askbot/views/readers.py
index 18291f8b..158c84ac 100644
--- a/askbot/views/readers.py
+++ b/askbot/views/readers.py
@@ -156,7 +156,7 @@ def questions(request, **kwargs):
paginator_html = paginator_tpl.render(
RequestContext(
request, {
- 'context': functions.setup_paginator(paginator_context),
+ 'context': paginator_context,
'questions_count': q_count,
'page_size' : page_size,
'search_state': search_state,