summaryrefslogtreecommitdiffstats
path: root/modules/crossreferences/xreffix.pl
diff options
context:
space:
mode:
authorPeter von Kaehne <refdoc@gmx.net>2010-10-08 08:45:47 +0000
committerPeter von Kaehne <refdoc@gmx.net>2010-10-08 08:45:47 +0000
commit6459b8c01307b8c9f22cf9f5edfe0aabca1a8912 (patch)
tree3cc75590372319904643a3c554148dd9257d0fda /modules/crossreferences/xreffix.pl
parent7ac406fababa685a98363486a01b81edb4ad483f (diff)
downloadsword-tools-6459b8c01307b8c9f22cf9f5edfe0aabca1a8912.tar.gz
now producing ESV-like xrefs
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@310 07627401-56e2-0310-80f4-f8cd0041bdcd
Diffstat (limited to 'modules/crossreferences/xreffix.pl')
-rw-r--r--modules/crossreferences/xreffix.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/crossreferences/xreffix.pl b/modules/crossreferences/xreffix.pl
index e65332b..84ed321 100644
--- a/modules/crossreferences/xreffix.pl
+++ b/modules/crossreferences/xreffix.pl
@@ -105,7 +105,7 @@ foreach (@data) {
}
my $scope= new Sword::VerseKey;
$scope->setText($c_book.$c_chapter.$c_verse);
- s/<note\ type=\"crossReference\">(.*?)<\/note>/"<note n=\"".note_index()."\" type=\"crossReference\" osisRef=\"$c_book.$c_chapter.$c_verse\" osisID=\"$c_book.$c_chapter.$c_verse!crossReference.".note_index()."\">".Sword::VerseKey::convertToOSIS($1, $scope)."<\/note>"/eg;
+ s/<note\ type=\"crossReference\">(.*?)<\/note>/"<note n=\"".note_index()."\" osisID=\"$c_book.$c_chapter.$c_verse!crossReference.".note_index()."\" osisRef=\"$c_book.$c_chapter.$c_verse\" type=\"crossReference\">".Sword::VerseKey::convertToOSIS($1, $scope)."<\/note>"/eg;
}
print (OUTF @data);
close OUTF;