Attachment 'moin-1.5.0beta5.diff'

Download

   1 --- moin-1.5.0beta5.orig\MoinMoin\formatter\text_html.py	2005-12-04 12:37:54.000000000 +0000
   2 +++ moin-1.5.0beta5\MoinMoin\formatter\text_html.py	2005-12-13 17:41:55.747864200 +0000
   3 @@ -282,9 +282,9 @@
   4          return str
   5  
   6      def anchordef(self, id):
   7 -        #return '<a id="%s"></a>' % (id, ) # this breaks PRE sections for IE
   8 +        # do not use '<a id="%s"></a>' this breaks PRE sections for IE
   9          # do not add a \n here, it breaks pre sections with line_anchordef
  10 -        return '<span id="%s" class="anchor"></span>' % (id, )
  11 +        return '<div id="%s" class="anchor"><!-- --></div>' % (id, )
  12  
  13      def line_anchordef(self, lineno):
  14          return self.anchordef("line-%d" % lineno)
  15 --- moin-1.5.0beta5.orig\wiki\htdocs\modern\css\screen.css	2005-12-04 19:28:30.000000000 +0000
  16 +++ moin-1.5.0beta5\wiki\htdocs\modern\css\screen.css	2005-12-13 17:42:28.296939200 +0000
  17 @@ -438,5 +438,5 @@
  18  /* Spans for line-anchors - uses * html hack so that the rule only applies to
  19   * IE (where omitting the "display: none" triggers rendering bugs).
  20   */
  21 -* html span.anchor { display: none; }
  22 +* html .anchor { display: none; }
  23  

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.
  • [get | view] (2005-12-29 13:39:46, 0.9 KB) [[attachment:line_anchor.diff]]
  • [get | view] (2005-12-13 18:03:46, 1.1 KB) [[attachment:moin-1.5.0beta5.diff]]
  • [get | view] (2006-01-10 11:55:40, 97.7 KB) [[attachment:newscreenshot.jpg]]
  • [get | view] (2005-12-12 14:45:18, 104.0 KB) [[attachment:screenshot.jpg]]
  • [get | view] (2005-12-13 20:46:22, 76.0 KB) [[attachment:screenshot_opera.png]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.