From e012d02ca21ddd01864c683e9cec318190abb047 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 30 Sep 2015 21:25:51 +0000 Subject: README: document NNTP access That's right, we now have our NNTP server running and are self-hosting a read-only news gateway at: nntp://news.public-inbox.org/inbox.comp.mail.public-inbox.meta --- Documentation/txt2pre | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Documentation') diff --git a/Documentation/txt2pre b/Documentation/txt2pre index acc6ca94..ef6a4f35 100755 --- a/Documentation/txt2pre +++ b/Documentation/txt2pre @@ -17,7 +17,9 @@ my ($title) = ($str =~ /\A([^\n]+)/); # temporarily swap > for escape so our s!! to add href works. # there's probably a way to do this with only a single s!! ... $str =~ s!>!\e!g; -$str =~ s!\b((ftp|https?)://[\w+\+\&\?\.\%\;/#-]+)!$1!g; +$str =~ s!\b((nntp|ftp|https?)://[\w+\+\&\?\.\%\;/#-]+)!$1!g; + $str =~ s!\e!>!g; # swap escapes back to > print '', -- cgit v1.2.3-24-ge0c7