diff --git a/roffit b/roffit index 7cd7d88..54226c6 100755 --- a/roffit +++ b/roffit @@ -257,7 +257,7 @@ sub linkfile { $field =~ s/(^|\W)((https|http|ftp):\/\/[a-z0-9\-._~%:\/?\#\[\]\@!\$&'()*+,;=]+)/$1$2<\/a>/gi; # convert (uppercase only) "RFC [number]" to a link - $field =~ s/(^|\W)RFC ?(\d+)/$1RFC $2<\/a>/g; + $field =~ s/(^|\W)RFC ?(\d+)/$1RFC $2<\/a>/g; $processed .= $field . $tail; } diff --git a/testpage.output b/testpage.output index 4aedf75..be7b30d 100644 --- a/testpage.output +++ b/testpage.output @@ -3,9 +3,9 @@

testpage - test input nroff man page for roffit testing

Synopsis

roffit [options] < inputfile > outputfile

Description

roffit converts the inputfile to outputfile. The inputfile must be an nroff formatted man page, and the outputfile will be an HTML document.

-

(RFC 959) is FTP

+

(RFC 959) is FTP

but ARFC 959 is a fake

-

RFC 3986 is URI syntax

+

RFC 3986 is URI syntax

Also, we must support style staring on one line and ending on another that may be multiple lines off.

Options

--bare

The output HTML will not include any HTML, HEAD or BODY tags. Also not that when this is selected, there will be no inlined CSS but you will have to define the necessary classes yourself.