Ticket #3522: searchall.py.2.diff

File searchall.py.2.diff, 0.6 kB (added by djs52, 4 months ago)

Alternative patch which works with Trac 0.10

  • searchall.py

    old new  
    1414 
    1515from trac.perm import IPermissionRequestor 
    1616from trac.env import open_environment 
     17from trac.util.html import Markup 
    1718 
    1819import re 
    1920import posixpath 
     
    8487             
    8588            for result in results: 
    8689                yield (result[0], 
    87                 '%s: %s' % (env.project_name, result[1]))\ 
     90                Markup('%s: %s' % (env.project_name, result[1])))\ 
    8891                + result[2:] 
    8992