Actually my bad, its not __init__.py it is actually XML() that needs patched...
Just append
*args,
**kwargs
to XML() function definition and it will clear out the error.
WIKI would never work if anybody ever passed anything through
**attributes since that gets passed to XML.
http://code.google.com/r/thadeusburgess-web2py/source/list?path=/gluon/html.py&r=6748522e8395427f7bfbc3911b594d0b4df1bb6d
Note these two revisions, I prefer args/kwargs since it is more pythonic.
02cb251533 Fix for WIKI and XML Dec 16, 2009
344b561ab8 Fix for WIKI and XML Dec 16, 2009
-Thadeus
On Sun, Jan 24, 2010 at 7:28 PM, Richard <[email protected]> wrote:
> """the XML is a patch that Massimo has obviously yet to apply. It is
> a
> bug in web2py WIKI helper instead of passing extras to markdown its
> passing extras to XML which is incorrect, you can look at my google
> clone of web2py gluon/contrib/markdown/__init__.py for the patch."""
>
>
> On Jan 25, 6:45 am, mdipierro <[email protected]> wrote:
>> Is it possible I have no pending patches?
>> Am I forgetting something?
>>
>> Massimo
>
> --
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/web2py?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.