1. Alex Willmer
  2. trac-ticketlinks

Commits

daniel  committed 46749d6

Merged [663] to 0.7-stable.

  • Participants
  • Parent commits 8931839
  • Branches 0.7-stable

Comments (0)

Files changed (1)

File trac/Search.py

View file
  • Ignore whitespace
             elif item['type'] == 3:
                 item['wiki_href'] = self.env.href.wiki(row['data'])
 
-            shortmsg = shorten_line(msg)
-            item['shortmsg'] = shortmsg
+            item['shortmsg'] = escape(shorten_line(msg))
             item['message'] = escape(self.shorten_result(msg, keywords))
             info.append(item)
         return info