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

scribe at crosswire.org scribe at crosswire.org
Thu Aug 13 04:48:07 EDT 2026


Author: scribe
Date: 2026-08-13 04:48:07 -0400 (Thu, 13 Aug 2026)
New Revision: 3918

Modified:
   trunk/src/modules/filters/osisxhtml.cpp
Log:
osisxhtml: render OSIS <app> and <lem> tags as classed spans, like rdg/catchWord/inscription

Modified: trunk/src/modules/filters/osisxhtml.cpp
===================================================================
--- trunk/src/modules/filters/osisxhtml.cpp	2026-08-13 08:47:57 UTC (rev 3917)
+++ trunk/src/modules/filters/osisxhtml.cpp	2026-08-13 08:48:07 UTC (rev 3918)
@@ -622,7 +622,7 @@
 			}
 		}
 		// <catchWord> & <rdg> tags (italicize)
-		else if (!strcmp(tag.getName(), "rdg") || !strcmp(tag.getName(), "catchWord") || !strcmp(tag.getName(), "inscription")) {
+		else if (!strcmp(tag.getName(), "app") || !strcmp(tag.getName(), "lem") || !strcmp(tag.getName(), "rdg") || !strcmp(tag.getName(), "catchWord") || !strcmp(tag.getName(), "inscription")) {
 			if ((!tag.isEndTag()) && (!tag.isEmpty())) {
 				outText("<span class=\"", buf, u);
 				outText(tag.getName(), buf, u);



More information about the sword-cvs mailing list