Index: /Users/nicc/local/src/PocketSword/externals/sword/src/modules/filters/osishtmlhref.cpp
===================================================================
--- /Users/nicc/local/src/PocketSword/externals/sword/src/modules/filters/osishtmlhref.cpp (revision 18)
+++ /Users/nicc/local/src/PocketSword/externals/sword/src/modules/filters/osishtmlhref.cpp (working copy)
@@ -117,7 +117,7 @@
// show = false;
//else {
if (!suspendTextPassThru) {
- buf.appendFormatted("<%s>",
+ buf.appendFormatted("<%s>",
(gh.length()) ? gh.c_str() : "",
URL::encode(val2).c_str(),
val2);
@@ -147,7 +147,7 @@
if ((*val == 'T') && (strchr("GH", val[1])) && (isdigit(val[2])))
val2+=2;
if (!suspendTextPassThru) {
- buf.appendFormatted("(%s)",
+ buf.appendFormatted("(%s)",
URL::encode(tag.getAttribute("morph")).c_str(),
URL::encode(val).c_str(),
val2);
@@ -252,19 +252,21 @@
SWCATCH ( ... ) { }
if (vkey) {
//printf("URL = %s\n",URL::encode(vkey->getText()).c_str());
- buf.appendFormatted("*%c",
+ buf.appendFormatted("*%c",
ch,
URL::encode(footnoteNumber.c_str()).c_str(),
URL::encode(u->version.c_str()).c_str(),
URL::encode(vkey->getText()).c_str(),
+ ch,
ch);
}
else {
- buf.appendFormatted("*%c",
+ buf.appendFormatted("*%c",
ch,
URL::encode(footnoteNumber.c_str()).c_str(),
URL::encode(u->version.c_str()).c_str(),
URL::encode(u->key->getText()).c_str(),
+ ch,
ch);
}
}