Index: /Users/nicc/local/src/PocketSword/externals/sword/src/modules/filters/gbfhtmlhref.cpp =================================================================== --- /Users/nicc/local/src/PocketSword/externals/sword/src/modules/filters/gbfhtmlhref.cpp (revision 8) +++ /Users/nicc/local/src/PocketSword/externals/sword/src/modules/filters/gbfhtmlhref.cpp (working copy) @@ -155,11 +155,11 @@ // else if (!strncmp(token, "WG", 2)) { // strong's numbers //buf += " <<<"; + buf += "\" class=\"strongs\">"; for (tok = token + 2; *tok; tok++) //if(token[i] != '\"') buf += *tok; @@ -167,11 +167,11 @@ } else if (!strncmp(token, "WH", 2)) { // strong's numbers //buf += " <<<"; + buf += "\" class=\"strongs\">"; for (tok = token + 2; *tok; tok++) //if(token[i] != '\"') buf += *tok; @@ -179,11 +179,11 @@ } else if (!strncmp(token, "WTG", 3)) { // strong's numbers tense //buf += " ((("; + buf += "\" class=\"strongs\">"; for (tok = token + 3; *tok; tok++) if(*tok != '\"') buf += *tok; @@ -191,11 +191,11 @@ } else if (!strncmp(token, "WTH", 3)) { // strong's numbers tense //buf += " ((("; + buf += "\" class=\"strongs\">"; for (tok = token + 3; *tok; tok++) if(*tok != '\"') buf += *tok; @@ -204,12 +204,12 @@ else if (!strncmp(token, "WT", 2) && strncmp(token, "WTH", 3) && strncmp(token, "WTG", 3)) { // morph tags //buf += " ((("; + buf += "\" class=\"morph\">"; for (tok = token + 2; *tok; tok++) if(*tok != '\"') buf += *tok; @@ -240,7 +240,7 @@ if (vkey) { // leave this special osis type in for crossReference notes types? Might thml use this some day? Doesn't hurt. //char ch = ((tag.getAttribute("type") && ((!strcmp(tag.getAttribute("type"), "crossReference")) || (!strcmp(tag.getAttribute("type"), "x-cross-ref")))) ? 'x':'n'); - buf.appendFormatted("*n ", + buf.appendFormatted("*n ", URL::encode(footnoteNumber.c_str()).c_str(), URL::encode(u->version.c_str()).c_str(), URL::encode(vkey->getText()).c_str());