From a7b48c5ecbcfad7c59495279f0391a8f30450f6b Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 4 Oct 2009 16:30:33 +0000 Subject: [PATCH] In lists, if there is a Li command remove it. This fixes markup for uath(4). MFC after: 3 days Reported by: Warren Block --- release/doc/share/misc/man2hwnotes.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/release/doc/share/misc/man2hwnotes.pl b/release/doc/share/misc/man2hwnotes.pl index b5ec96971a1a..2fbc06601f34 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;