From 9eb96613ada244d5d2314838f070acd4f4762872 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 28 Jun 2015 02:10:12 +0000 Subject: Remove all DOCTYPE git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2566 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- buildtools/makeman | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'buildtools/makeman') diff --git a/buildtools/makeman b/buildtools/makeman index bcc65cff..9b2653bf 100755 --- a/buildtools/makeman +++ b/buildtools/makeman @@ -51,9 +51,7 @@ def makeman(name, file, indoc): # Protect escapes before we try generating font changes. indoc = indoc.replace("\\", r"\e") # Header-bashing - indoc = indoc.replace('', "") - indoc = indoc.replace('', "") - indoc = indoc.replace('\n',"") + indoc = re.sub('(?i)]*>', "", indoc) indoc = indoc.replace('', "") indoc = indoc.replace('', "") indoc = indoc.replace('\n',"") -- cgit 1.4.1