Changes between Version 8 and Version 9 of EggCookingTutorial/AdvancedEggCooking


Ignore:
Timestamp:
Jan 25, 2006, 1:05:03 AM (18 years ago)
Author:
villaume@…
Comment:

necessary for 0.93

Legend:

Unmodified
Added
Removed
Modified
  • EggCookingTutorial/AdvancedEggCooking

    v8 v9  
    8484from trac.web.chrome import INavigationContributor, ITemplateProvider
    8585from trac.web.main import IRequestHandler
    86 from trac.util import escape
     86from trac.util import escape, Markup
    8787
    8888class UserbaseModule(Component):
     
    9494               
    9595    def get_navigation_items(self, req):
    96         yield 'mainnav', 'helloworld', '<a href="%s">Hello</a>' \
    97                                        % escape(self.env.href.helloworld())
     96        yield 'mainnav', 'helloworld', Markup('<a href="%s">Hello</a>', self.env.href.helloworld())
    9897       
    9998    # IRequestHandler methods
     
    145144
    146145
     146
     147