@@ -366,8 +366,8 @@ def render_footnote_caption(self, tokens, idx, options, env):
366366
367367
368368def render_footnote_ref (self , tokens , idx , options , env ):
369- ident = self .rules ["footnote_anchor_name" ](self , tokens , idx , options , env )
370- caption = self .rules ["footnote_caption" ](self , tokens , idx , options , env )
369+ ident = self .rules ["footnote_anchor_name" ](tokens , idx , options , env )
370+ caption = self .rules ["footnote_caption" ](tokens , idx , options , env )
371371 refid = ident
372372
373373 if tokens [idx ].meta .get ("subId" , - 1 ) > 0 :
@@ -401,7 +401,7 @@ def render_footnote_block_close(self, tokens, idx, options, env):
401401
402402
403403def render_footnote_open (self , tokens , idx , options , env ):
404- ident = self .rules ["footnote_anchor_name" ](self , tokens , idx , options , env )
404+ ident = self .rules ["footnote_anchor_name" ](tokens , idx , options , env )
405405
406406 if tokens [idx ].meta .get ("subId" , - 1 ) > 0 :
407407 ident += ":" + tokens [idx ].meta ["subId" ]
@@ -414,7 +414,7 @@ def render_footnote_close(self, tokens, idx, options, env):
414414
415415
416416def render_footnote_anchor (self , tokens , idx , options , env ):
417- ident = self .rules ["footnote_anchor_name" ](self , tokens , idx , options , env )
417+ ident = self .rules ["footnote_anchor_name" ](tokens , idx , options , env )
418418
419419 if tokens [idx ].meta ["subId" ] > 0 :
420420 ident += ":" + str (tokens [idx ].meta ["subId" ])
0 commit comments