I am finishing a new project today, which every content is wrote in markmin
http://natalanimal.com.br/

This is a site of an animal protection association, which aims to raise
donations and sponsors to animals at Christmas.

I made it based on e-store, I am almost finishing some details.

Thank you Massimo!



2010/11/10 mdipierro <[email protected]>

> done
>
> On Nov 9, 11:21 pm, Bruno Rocha <[email protected]> wrote:
> > Minor suggestion for MARKMIN()
> >
> > If I am fetching the Markmin content from database, and database field is
> > empty (None), MARKMIN raises an error.
> >
> > I am solving this problem with :
> >
> > MARKMIN(myfield or ' ')
> >
> > But, I think MARKMIN can itself resolve what to do if the received arg is
> > NoneType)
> >
> >   File "/home/rochacbruno/webapps/natalanimal2/web2py/gluon/html.py",
> > line 1892, in xml
> >     class MARKMIN(XmlComponent):
> >   File
> "/home/rochacbruno/webapps/natalanimal2/web2py/gluon/contrib/markmin/markmin2html.py",
> > line 317, in render
> >     text = regex_dd.sub('``\g``:latex ',text)
> > TypeError: expected string or buffer
>



-- 

http://rochacbruno.com.br

Reply via email to