diff options
author | Eric Wong <e@80x24.org> | 2019-05-07 20:40:28 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-05-08 22:56:34 +0000 |
commit | e50b4ffa4ac7ac07cd4922459b292734b0e370bd (patch) | |
tree | b4456affedabd66ef169af1a4d043d91593cc265 /Documentation/txt2pre | |
parent | 5af9839f734c4eb5c0982c6b75e1425c3187f88f (diff) | |
download | public-inbox-e50b4ffa4ac7ac07cd4922459b292734b0e370bd.tar.gz |
We can fix the redundant rule in include.mk which causes make(1) on FreeBSD to complain; but HTML docs will likely still require GNU make.
Diffstat (limited to 'Documentation/txt2pre')
-rwxr-xr-x | Documentation/txt2pre | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/txt2pre b/Documentation/txt2pre index 4c4b2ca2..9a81a24a 100755 --- a/Documentation/txt2pre +++ b/Documentation/txt2pre @@ -11,8 +11,7 @@ use PublicInbox::Linkify; use PublicInbox::Hval qw(ascii_html); my $str = eval { local $/; <> }; -my $title = $ENV{TITLE}; -($title) = ($str =~ /\A([^\n]+)/) unless $title; +my ($title) = ($str =~ /\A([^\n]+)/); $title = ascii_html($title); my $l = PublicInbox::Linkify->new; $str = $l->linkify_1($str); |