Browse Source

bugfix: do not extract links from pages

Damien ACCORSI 9 years ago
parent
commit
1b45c3f93a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tracim/tracim/model/data.py

+ 1 - 1
tracim/tracim/model/data.py View File

@@ -498,7 +498,7 @@ class Content(DeclarativeBase):
498 498
         :return: a list of LinkItem
499 499
         """
500 500
         links = []
501
-
501
+        return links
502 502
         soup = BeautifulSoup(
503 503
             self.description if not other_content else other_content,
504 504
             'html.parser'  # Fixes hanging bug - http://stackoverflow.com/questions/12618567/problems-running-beautifulsoup4-within-apache-mod-python-django