Sorry, I did't send the compelte information, while I was on mobile.

The easy way to render the 'http://' urls in web2py, is using markmin.

lets say you have a text

text = "ths is a text with a link http://www.rochacbruno.com.br";

To render the link as an Hyperlink you can use markmin.

{{=MARKMIN(text)}}

I dont know a way to block another markmin keywords, so in your comment box
users could use any as **bold** , - List, # Title .....

2010/11/3 rochacbruno <[email protected]>

> You can use MARKMIN()
>
>
> Enviado via iPhone
>
> Em 03/11/2010, às 06:12, Luther Goh Lu Feng <[email protected]> escreveu:
>
> > This probably isn't a web2py specific question but I thought I should
> > ask anyway in case there is something relevant in web2py that I have
> > missed.
> >
> > I have a comments form that is used to create comments based on user
> > input. I would like to parse this user input such that any URLs
> > included will be clickable, ie enclosed by <a href=""> </a>
> >
> > Any tips?
>



-- 

http://rochacbruno.com.br

Reply via email to