diff options
author | Brendan O'Dea <bod@debian.org> | 2011-05-30 11:59:48 +1000 |
---|---|---|
committer | Brendan O'Dea <bod@debian.org> | 2011-05-30 11:59:48 +1000 |
commit | 3b8417b95d11c34f0894313607a3a5aa046a87d0 (patch) | |
tree | e8318a82d8569b80e54fd19c0e9ff618810c73be | |
parent | fd9c9c0e27d48bc6071cd175d38363b03114178c (diff) | |
download | help2man-3b8417b95d11c34f0894313607a3a5aa046a87d0.tar.gz |
Reduce heading sizes
-rwxr-xr-x | help2man.html.PL | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/help2man.html.PL b/help2man.html.PL index e030296..79e276c 100755 --- a/help2man.html.PL +++ b/help2man.html.PL @@ -53,6 +53,9 @@ for ($body) s#<a\s+href="standards\.html#<a href="$gnu_standards#g; s#<a\s+href="\*manpages\*\.html\#perlre" #<a href="http://perldoc.perl.org/perlre.html"#xg; + + # Drop heading sizes by one, as h1 is quite loud. + s#<(/?)h(\d)\b#"<${1}h" . ($2 + 1)#ge; } # Write output |