I tried to extend the auth.wiki using the extra option but I cannot get it
to work.
I set auth.wiki(resolve=False) in the models
and used the following controller:
def index():
checked = lambda text: '%s' % text + ' ✓'
return auth.wiki(render='markmin',extra=dict(checked=checked))
in a new wiki page:
``this is OK``:checked
expect to see:
this is OK ✓
I get:
this is OK
I did a small test to check the function:
by adding these line to the controller index:
z = MARKMIN("``this is OK``:checked",
extra=dict(checked=checked))
response.flash = z
this shows in the response flash: this is OK ✓
Do I have set any other options or is it a bug.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.