diff summa/english/thml.html.xsl @ 50:3ce619c8ea60

another link fix
author ht
date Sun, 27 Dec 2009 18:20:15 +0000
parents 9b6e0e444322
children 093a560860d9
line wrap: on
line diff
--- a/summa/english/thml.html.xsl	Sun Dec 27 17:23:07 2009 +0000
+++ b/summa/english/thml.html.xsl	Sun Dec 27 18:20:15 2009 +0000
@@ -1371,7 +1371,7 @@
 
     <!-- parse osisRef to get bk, ch -->
     <xsl:variable name="psg"><xsl:value-of select="substring-before(concat(
-        substring-after(@osisRef,':'),'-'),'-')"/></xsl:variable>
+        substring-after(substring-before(concat(@osisRef,' '),' '),':'),'-'),'-')"/></xsl:variable>
     <xsl:variable name="bk1"><xsl:value-of select="substring-before($psg,'.')"/></xsl:variable>
     <xsl:variable name="bk">
       <xsl:choose>