diff options
author | simon <simon@FreeBSD.org> | 2009-10-04 16:30:33 +0000 |
---|---|---|
committer | simon <simon@FreeBSD.org> | 2009-10-04 16:30:33 +0000 |
commit | a7b48c5ecbcfad7c59495279f0391a8f30450f6b (patch) | |
tree | 58cb50a11d1d6092db775fa33718e4723aa61359 /release/doc | |
parent | 170760d5852aa32493e4ab8b24c3bc87a1bd9883 (diff) | |
download | FreeBSD-src-a7b48c5ecbcfad7c59495279f0391a8f30450f6b.zip FreeBSD-src-a7b48c5ecbcfad7c59495279f0391a8f30450f6b.tar.gz |
In lists, if there is a Li command remove it. This fixes markup for
uath(4).
MFC after: 3 days
Reported by: Warren Block <wblock at wonkity.com>
Diffstat (limited to 'release/doc')
-rw-r--r-- | release/doc/share/misc/man2hwnotes.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/doc/share/misc/man2hwnotes.pl b/release/doc/share/misc/man2hwnotes.pl index b5ec969..2fbc066 100644 --- a/release/doc/share/misc/man2hwnotes.pl +++ b/release/doc/share/misc/man2hwnotes.pl @@ -252,6 +252,10 @@ sub parse { $txt =~ s/ Ta /\t/g; $txt =~ s/([^\t]+)\t.*/$1/; } + + # Remove Li commands + $txt =~ s/^Li //g; + parabuf_addline(\%mdocvars, normalize($txt)); } elsif (/^Bl/) { $mdocvars{isin_list} = 1; |