[Trac-tickets] Re: [The Trac Project] #847: Add 'id' attribute to headings in the wiki

The Trac Project noreply at edgewall.com
Wed Mar 2 09:14:21 EST 2005


#847: Add 'id' attribute to headings in the wiki
--------------------+-------------------------------------------------------
       Id:  847     |      Status:  reopened                
Component:  wiki    |    Modified:  Wed Mar  2 09:14:16 2005
 Severity:  normal  |   Milestone:  0.9                     
 Priority:  normal  |     Version:  0.8                     
    Owner:  jonas   |    Reporter:  dmurphy25 at csc.com       
--------------------+-------------------------------------------------------
Changes (by nil4 at personal.ro):

  * resolution:  fixed =>
  * severity:  enhancement => normal
  * version:  0.7.1 => 0.8
  * status:  closed => reopened

Comment:

 To prevent anchor ids incrementing their numerical suffix forever, you
 should add a line:

 {{{
 class WikiFormatter:
   def __init__:
     ...
     self.anchors = []
 }}}

 Otherwise, every visit (or refresh) of the same wiki page generates
 different heading ids.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/847>
The Trac Project <>


More information about the Trac-Tickets mailing list