Changeset 1301

Show
Ignore:
Timestamp:
10/31/07 13:08:48 (13 months ago)
Author:
JensDiemer
Message:

"internal Links wrong..." bugfix for http://pylucid.net:8080/pylucid/ticket/114

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pylucid/PyLucid/system/tinyTextile.py

    r1206 r1301  
    157157    def shortcutLink(self, matchobj): 
    158158        shortcut = matchobj.group(1) 
     159        url = "/%s/" % shortcut.strip("/") 
    159160        link = '<a href="%s">%s</a>' % ( 
    160 #            self.URLs.pageLink(shortcut), shortcut 
    161             shortcut, shortcut 
     161            url, shortcut 
    162162        ) 
    163163        return link