[sword-svn] r3779 - trunk/src/modules/filters

scribe at crosswire.org scribe at crosswire.org
Sat Aug 15 13:03:16 EDT 2020


Author: scribe
Date: 2020-08-15 13:03:16 -0400 (Sat, 15 Aug 2020)
New Revision: 3779

Modified:
   trunk/src/modules/filters/osisstrongs.cpp
Log:
added support for '+' space escaping in <w> lemma, morph, and src data


Modified: trunk/src/modules/filters/osisstrongs.cpp
===================================================================
--- trunk/src/modules/filters/osisstrongs.cpp	2020-08-15 15:49:13 UTC (rev 3778)
+++ trunk/src/modules/filters/osisstrongs.cpp	2020-08-15 17:03:16 UTC (rev 3779)
@@ -137,6 +137,7 @@
 							mp += attrib;
 							morphClass += mClass;
 							morph += mp;
+							mp.replaceBytes("+", ' ');
 							if (count > 1) {
 								SWBuf tmp;
 								tmp.setFormatted("Morph.%d", i+1);
@@ -179,6 +180,7 @@
 							l += attrib;
 							if (i) { lemmaClass += " "; lemma += " "; }
 							lemma += l;
+							l.replaceBytes("+", ' ');
 							lemmaClass += lClass;
 							if (count > 1) {
 								SWBuf tmp;
@@ -202,6 +204,7 @@
 							if (i) src += " ";
 							mp += attrib;
 							src += mp;
+							mp.replaceBytes("+", ' ');
 							if (count > 1) {
 								SWBuf tmp;
 								tmp.setFormatted("Src.%d", i+1);



More information about the sword-cvs mailing list