samizdat-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: automatic URLs for plain text format?


From: Dmitry Borodaenko
Subject: Re: automatic URLs for plain text format?
Date: Mon, 4 Dec 2006 16:35:53 +0000

On 12/4/06, Dmitry Borodaenko <address@hidden> wrote:
It is a bug in Samizdat::Sanitize. This fragment of xhtml.yaml is to blame:

&uri !ruby/regexp /\A(http:|https:|ftp:|mailto:)?[^:]+\z/i

This regexp seems to do the trick:

/\A((http|https|ftp|mailto):[^"\s]+|[^:\s]+)\z/i

In CVS now.

--
Dmitry Borodaenko




reply via email to

[Prev in Thread] Current Thread [Next in Thread]