Changeset 40

Show
Ignore:
Timestamp:
06/15/05 08:00:06 (4 years ago)
Author:
root
Message:
  • Pathetic attempt at escaping.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/macros/ref.py

    r39 r40  
    44 
    55def execute(hdf, args, env): 
    6         return "<a href='#%s' title='Go to %s'>%s</a>" % (anchor_re.sub("", args), args, args) 
     6        return "<a href='#%s' title='Jump to section %s'>%s</a>" % (anchor_re.sub("", args), args.replace("'", "\\'"), args)