diff options
Diffstat (limited to 'src/modules/filters/osisrtf.cpp')
-rw-r--r-- | src/modules/filters/osisrtf.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/filters/osisrtf.cpp b/src/modules/filters/osisrtf.cpp index 291aa08..7bc5639 100644 --- a/src/modules/filters/osisrtf.cpp +++ b/src/modules/filters/osisrtf.cpp @@ -2,9 +2,9 @@ * * osisrtf.cpp - OSIS to RTF filter * - * $Id: osisrtf.cpp 3005 2014-01-09 04:06:11Z greg.hellings $ * + * $Id: osisrtf.cpp 3156 2014-04-17 03:50:37Z greg.hellings $ * * - * Copyright 2003-2013 CrossWire Bible Society (http://www.crosswire.org) + * Copyright 2003-2014 CrossWire Bible Society (http://www.crosswire.org) * CrossWire Bible Society * P. O. Box 2528 * Tempe, AZ 85280-2528 @@ -284,7 +284,7 @@ bool OSISRTF::handleToken(SWBuf &buf, const char *token, BasicFilterUserData *us // Milestoned paragraphs, created by osis2mod // <div type="paragraph" sID.../> // <div type="paragraph" eID.../> - else if (tag.isEmpty() && !strcmp(tag.getName(), "div") && tag.getAttribute("type") && !strcmp(tag.getAttribute("type"), "paragraph")) { + else if (tag.isEmpty() && !strcmp(tag.getName(), "div") && tag.getAttribute("type") && (!strcmp(tag.getAttribute("type"), "x-p") || !strcmp(tag.getAttribute("type"), "paragraph"))) { // <div type="paragraph" sID... /> if (tag.getAttribute("sID")) { // non-empty start tag outText("{\\fi200\\par}", buf, u); |