MoinMoin中Anchor宏的BUG

| | Comments (0) | TrackBacks (0)

前几天发现,我的blog的左面导航栏的项目符号再firefox中总是高出一截儿,查了所有的css都没搞明白怎么回事儿。

昨天,突然发现这是MoinMoin里面宏Anchor搞得鬼。这个宏在当前位置插入一个<a id="xxx" >的tag,可是却没有封口,应该为< a id="xxx"></a>,导致firefox解析除了问题。IE比较皮实对这种问题能忽略。 现在我只得添加另一个宏[[HTML("</a>")]].

最好是把MoinMoin代码改了,不知道现在新的MoinMoin还有没有这样的bug.

补充:
刚刚改了/usr/lib/python2.3/site-packages/MoinMoin/formatter/text_html.py

99行:


def anchordef(self, id):
return '<a id="%s"></a>' % id

0 TrackBacks

Listed below are links to blogs that reference this entry: MoinMoin中Anchor宏的BUG.

TrackBack URL for this entry: http://www.ieasy.org/cgi-bin/MTOS/mt-tb.cgi/73

Leave a comment

About this Entry

This page contains a single entry by 科学家 published on October 22, 2004 1:18 PM.

设定ProftpD的nice level was the previous entry in this blog.

Google Desktop 与 MS ISA FIrewall Client冲突的解决 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.