Index: /Users/nicc/local/src/PocketSword/externals/sword/src/modules/filters/teihtmlhref.cpp =================================================================== --- /Users/nicc/local/src/PocketSword/externals/sword/src/modules/filters/teihtmlhref.cpp (revision 8) +++ /Users/nicc/local/src/PocketSword/externals/sword/src/modules/filters/teihtmlhref.cpp (working copy) @@ -251,7 +251,7 @@ if (tag.isEndTag()) { SWBuf footnoteNumber = tag.getAttribute("swordFootnote"); - buf.appendFormatted("*n", + buf.appendFormatted("*n", URL::encode(footnoteNumber.c_str()).c_str(), URL::encode(u->version.c_str()).c_str(), URL::encode(u->key->getText()).c_str());