]> granicus.if.org Git - docbook-dsssl/commitdiff
Only escape dot if it actually occurs at the beginning of a line.
authorMichael Smith <xmldoc@users.sourceforge.net>
Mon, 15 Jan 2007 01:59:00 +0000 (01:59 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Mon, 15 Jan 2007 01:59:00 +0000 (01:59 +0000)
xsl/params/man.string.subst.map.xml

index fa501b6da4a2720e8fae4d7d4a7a9aba3b764409..c5696088180d56ba2d990fcdbb443d57f33cab8d 100644 (file)
@@ -14,9 +14,9 @@
 <src:fragment id='man.string.subst.map.frag'>
 <xsl:param name="man.string.subst.map">
   <substitution oldstring="\" newstring="\\"/>
-  <!-- * escape all dots (because roff interprets them as newlines if they -->
-  <!-- * occur at the beginning of a line -->
-  <substitution oldstring="." newstring="\."/>
+  <!-- * escape all dots at the beginnings of lines (because roff -->
+  <!-- * interprets them as the start of roff requests) -->
+  <substitution oldstring="&#10;." newstring="\."/>
   <!-- * the stylesheets use U+2302 internally to represent the start of a -->
   <!-- * roff request; for output, we need to convert that internal -->
   <!-- * representation to the character that roff actually uses to mark -->