|
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
[Prev in Thread] | Current Thread | [Next in Thread] |