[sword-svn] r3607 - trunk/src/modules/filters
refdoc at crosswire.org
refdoc at crosswire.org
Mon Nov 12 08:38:12 MST 2018
Author: refdoc
Date: 2018-11-12 08:38:12 -0700 (Mon, 12 Nov 2018)
New Revision: 3607
Modified:
trunk/src/modules/filters/osisxhtml.cpp
Log:
"inscription" handling
Modified: trunk/src/modules/filters/osisxhtml.cpp
===================================================================
--- trunk/src/modules/filters/osisxhtml.cpp 2018-11-10 23:23:31 UTC (rev 3606)
+++ trunk/src/modules/filters/osisxhtml.cpp 2018-11-12 15:38:12 UTC (rev 3607)
@@ -54,6 +54,7 @@
.acrostic { text-align: center; }\n\
.colophon {font-style: italic; font-size: small; display: block; }\n\
.rdg { font-style: italic; }\n\
+ .inscription {font-variant: small-caps; }\n\
.catchWord {font-style: bold; }\n\
.x-p-indent {text-indent: 1em; }\n\
";
@@ -615,7 +616,7 @@
}
}
// <catchWord> & <rdg> tags (italicize)
- else if (!strcmp(tag.getName(), "rdg") || !strcmp(tag.getName(), "catchWord")) {
+ else if (!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