From scribe at crosswire.org Thu Aug 13 04:47:57 2026 From: scribe at crosswire.org (scribe at crosswire.org) Date: Thu, 13 Aug 2026 04:47:57 -0400 (EDT) Subject: [sword-svn] r3917 - trunk/bindings/corba/orbitcpp Message-ID: <20260813084757.3CCBC11F9DE@mail.crosswire.org> Author: scribe Date: 2026-08-13 04:47:57 -0400 (Thu, 13 Aug 2026) New Revision: 3917 Modified: trunk/bindings/corba/orbitcpp/webmgr.hpp Log: webmgr: make default Greek/Hebrew lexicon and morphology module selection first-wins, with explicit override via GreekDefDefault/HebrewDefDefault/GreekParseDefault/HebrewParseDefault feature flags Modified: trunk/bindings/corba/orbitcpp/webmgr.hpp =================================================================== --- trunk/bindings/corba/orbitcpp/webmgr.hpp 2026-03-09 21:55:03 UTC (rev 3916) +++ trunk/bindings/corba/orbitcpp/webmgr.hpp 2026-08-13 08:47:57 UTC (rev 3917) @@ -123,16 +123,24 @@ // add our special filters if (module->getConfig().has("Feature", "GreekDef")) { - defaultGreekLex = module; + if (!defaultGreekLex || module->getConfig().has("Feature", "GreekDefDefault")) { + defaultGreekLex = module; + } } if (module->getConfig().has("Feature", "HebrewDef")) { - defaultHebLex = module; + if (!defaultHebLex || module->getConfig().has("Feature", "HebrewDefDefault")) { + defaultHebLex = module; + } } if (module->getConfig().has("Feature", "GreekParse")) { - defaultGreekParse = module; + if (!defaultGreekParse || module->getConfig().has("Feature", "GreekParseDefault")) { + defaultGreekParse = module; + } } if (module->getConfig().has("Feature", "HebrewParse")) { - defaultHebParse = module; + if (!defaultHebParse || module->getConfig().has("Feature", "HebrewParseDefault")) { + defaultHebParse = module; + } } if (module->getConfig().has("GlobalOptionFilter", "ThMLVariants")) { OptionFilterMap::iterator it = optionFilters.find("ThMLVariants"); From scribe at crosswire.org Thu Aug 13 04:48:07 2026 From: scribe at crosswire.org (scribe at crosswire.org) Date: Thu, 13 Aug 2026 04:48:07 -0400 (EDT) Subject: [sword-svn] r3918 - trunk/src/modules/filters Message-ID: <20260813084807.725B111F9DE@mail.crosswire.org> 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 and 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 @@ } } // & 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("