]> granicus.if.org Git - docbook-dsssl/commitdiff
squeeze .sp\n.sp into a single .sp (to prevent a extra, spurious
authorMichael Smith <xmldoc@users.sourceforge.net>
Sat, 8 Mar 2008 17:41:39 +0000 (17:41 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Sat, 8 Mar 2008 17:41:39 +0000 (17:41 +0000)
line of whitespace from being inserted after programlisting etc.
in certain cases)

xsl/params/man.string.subst.map.xml

index 4f2a765279c7fcb6c7ca4fd11dcf1bd66baeec7f..0feed4aa6aad0a3530b00b76f6214b02389b45f5 100644 (file)
@@ -30,6 +30,8 @@
   <!-- * remove any .sp instances that directly precede a .PP  -->
   <ss:substitution oldstring=".sp&#10;.PP" newstring=".PP"/>
   <!-- * remove any .sp instances that directly follow a .PP  -->
+  <ss:substitution oldstring=".sp&#10;.sp" newstring=".sp"/>
+  <!-- * squeeze multiple .sp instances into a single .sp-->
   <ss:substitution oldstring=".PP&#10;.sp" newstring=".PP"/>
   <!-- * squeeze multiple newlines after start of no-fill (verbatim) env. -->
   <ss:substitution oldstring=".nf&#10;&#10;" newstring=".nf&#10;"/>