Attachment 'line_anchor.diff'
Download 1 --- multiconfig.py.orig 2005-12-06 23:11:26.000000000 +0000
2 +++ multiconfig.py 2005-12-29 13:31:32.849060000 +0000
3 @@ -231,6 +231,7 @@
4 language_ignore_browser = False # ignore browser settings, use language_default
5 # or user prefs
6
7 + line_anchors = 1
8 lupy_search = False # disabled until lupy is finished
9
10 mail_login = None # or "user pwd" if you need to use SMTP AUTH
11 --- formatter\text_html.py.orig 2005-12-04 12:37:54.000000000 +0000
12 +++ formatter\text_html.py 2005-12-29 13:36:10.340206400 +0000
13 @@ -287,7 +287,10 @@
14 return '<span id="%s" class="anchor"></span>' % (id, )
15
16 def line_anchordef(self, lineno):
17 - return self.anchordef("line-%d" % lineno)
18 + if self.request.cfg.line_anchors:
19 + return self.anchordef("line-%d" % lineno)
20 + else:
21 + return ''
22
23 def anchorlink(self, on, name='', id=None):
24 extra = ''
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.