2009/12/15 mdipierro <mdipie...@cs.depaul.edu>:
> XML(gluon.contrib.markdown.WIKI
> (page.body,safe_mode=False),sanitize=True)}}
>
> should be
>
> XML(gluon.contrib.markdown.WIKI(page.body,safe_mode=False).xml
> (),sanitize=True)}}
>


Thanks.  Now the error message is gone.

As a test the following kode:
-----------------------------------------
###kopstuk###

Kyk wat gebeur
------------------------

produces the following html:

<!-- <h3>kopstuk</h3>

<p>Kyk wat gebeur</p>
 -->
&lt;h3&gt;kopstuk&lt;/h3&gt;

<p>Kyk wat gebeur</p>

When I switch off sanitize it works correctly, but I suspect that is unsafe.

Regards
Johann

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to