[Subversion] / CityKid / citykid / data.py  

Diff of /CityKid/citykid/data.py

Parent Directory | Revision Log

version 2441, Fri Dec 21 17:20:30 2007 UTC version 2442, Sat Dec 22 16:17:23 2007 UTC
Line 205 
Line 205 
   
     def teaser_for(self, tgt, root=None):      def teaser_for(self, tgt, root=None):
         return BRACKET.sub(          return BRACKET.sub(
             lambda m: '<a href="%s">%s</a>' %              lambda m: '<a href="%s#begin-post">%s</a>' %
                 (self.linkTo(tgt,root), m.group(1)),                  (self.linkTo(tgt,root), m.group(1)),
             tgt.teaser              tgt.teaser
         )          )


Generate output suitable for use with a patch program
Legend:
Removed from v.2441  
changed lines
  Added in v.2442

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help