summaryrefslogtreecommitdiffstats
path: root/release/doc
diff options
context:
space:
mode:
authorsimon <simon@FreeBSD.org>2009-10-04 16:30:33 +0000
committersimon <simon@FreeBSD.org>2009-10-04 16:30:33 +0000
commita7b48c5ecbcfad7c59495279f0391a8f30450f6b (patch)
tree58cb50a11d1d6092db775fa33718e4723aa61359 /release/doc
parent170760d5852aa32493e4ab8b24c3bc87a1bd9883 (diff)
downloadFreeBSD-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.pl4
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;
OpenPOWER on IntegriCloud