diff --git a/rhodecode/lib/helpers.py b/rhodecode/lib/helpers.py --- a/rhodecode/lib/helpers.py +++ b/rhodecode/lib/helpers.py @@ -90,8 +90,7 @@ class _ToolTip(object): :param tooltip_title: """ - return wrap_paragraphs(escape(tooltip_title), trim_at)\ - .replace('\n', '
') + return escape(tooltip_title) def activate(self): """Adds tooltip mechanism to the given Html all tooltips have to have @@ -269,13 +268,17 @@ def pygmentize_annotation(repo_name, fil return "color: rgb(%s)! important;" % (', '.join(col)) def url_func(repo_name): + def _url_func(changeset): - tooltip_html = "
Author:" + \ - " %s
Date: %s
Message: %s
" + author = changeset.author + date = changeset.date + message = tooltip(changeset.message) - tooltip_html = tooltip_html % (changeset.author, - changeset.date, - tooltip(changeset.message)) + tooltip_html = ("
Author:" + " %s
Date: %s
Message:" + " %s
") + + tooltip_html = tooltip_html % (author, date, message) lnk_format = '%5s:%s' % ('r%s' % changeset.revision, short_id(changeset.raw_id)) uri = link_to(