Index: tractoc/macro.py
===================================================================
--- tractoc/macro.py (revisiĆ³n: 1304)
+++ tractoc/macro.py (copia de trabajo)
@@ -42,8 +42,11 @@
else:
out.write("
\n" % active)
curr_depth = depth
- out.write('%s' %
- (self.href.wiki(page), anchor, heading))
+ if active:
+ out.write('%s' % (anchor, heading))
+ else:
+ out.write('%s' %
+ (self.href.wiki(page), anchor, heading))
out.write('' * curr_depth)