From: Yuri T. <qar...@gm...> - 2008-05-02 17:44:53
|
> IMHO this extension shouldn't use _handleInline method, but > _handleInlineWrapper2. I went through the source code of markdown and it > appears, that _handleInline is only some 'private' function used by > _handleInlineWrapper2 - so _handleInline applies only one pattern and > returns chunks in reverse order, which is completely wrong and will do > mess when you use any inline pattern in table. Thanks for pointing this out. Strictly speaking, the extensions shouldn't be using an of the _... methods. So, we should probably think whether this is a sign that we need to expose a bit more of the API. Anyway, I'll try to look into this. > I don't have permission to wiki so I cannot write it there, so I'm > sending this email to mailinglist. We switched to git last week and I just checked in additional extensions that I have, including this one. The project is at http://gitorious.org/projects/python-markdown/ and the "mainline" repository is at http://gitorious.org/projects/python-markdown/repos/mainline/ Note that with git you don't need commit privileges to play - you can just "clone" a repository (essentially make a branch), and commit into it. We can then merge from it later. - yuri -- http://sputnik.freewisdom.org/ |