]> granicus.if.org Git - docbook-dsssl/commitdiff
Changed order of string replacements so that backslash is escaped
authorMichael Smith <xmldoc@users.sourceforge.net>
Thu, 18 Jan 2007 16:08:47 +0000 (16:08 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Thu, 18 Jan 2007 16:08:47 +0000 (16:08 +0000)
and replaced after backslash and dot (as it needs to be).

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

index e133ba1cee41150c14933d345ec348ba8259c7dc..999dcaebfe636bd9fab688d32b926009ffd436c5 100644 (file)
   <!-- *  -->
   <!-- ******************************************************************** -->
 
-  <!-- * escape dashes in content -->
-  <substitution oldstring="-" newstring="\-"/>
-  <!-- * replace U+2591 marker with dash -->
-  <substitution oldstring="&#x2591;" newstring="-"/>
   <!-- * escape backslashes in content -->
   <substitution oldstring="\" newstring="\\"/>
   <!-- * fix bad font-request capitalization in .SH (stylesheet artifact) -->
   <substitution oldstring="&#10;." newstring="&#10;\&amp;."/>
   <!-- * replace U+2302 marker with dot -->
   <substitution oldstring="&#x2302;" newstring="."/>
+  <!-- * escape dashes in content -->
+  <substitution oldstring="-" newstring="\-"/>
+  <!-- * replace U+2591 marker with dash -->
+  <substitution oldstring="&#x2591;" newstring="-"/>
 
   <!-- ==================================================================== -->