File tree 1 file changed +7
-0
lines changed
biblemulticonverter-sqlite/src/main/java/biblemulticonverter/sqlite/format
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1055,6 +1055,8 @@ public Visitor<IOException> visitSpeaker(String labelOrStrongs) throws IOExcepti
1055
1055
1056
1056
private static class MyBibleVerseVisitor extends AbstractNoCSSVisitor <IOException > {
1057
1057
1058
+ private final boolean noteAsFootnote = Boolean .getBoolean ("mybiblezone.note.asfootnote" );
1059
+
1058
1060
private final StringBuilder builder ;
1059
1061
private final List <String > suffixStack = new ArrayList <>();
1060
1062
private final Set <String > unsupportedFeatures ;
@@ -1112,6 +1114,11 @@ public void visitText(String text) throws RuntimeException {
1112
1114
1113
1115
@ Override
1114
1116
public Visitor <IOException > visitFootnote (boolean ofCrossReferences ) throws IOException {
1117
+ if (noteAsFootnote ) {
1118
+ builder .append ("<n>" );
1119
+ suffixStack .add ("</n>" );
1120
+ return this ;
1121
+ }
1115
1122
lastFootnote ++;
1116
1123
MyBibleHTMLVisitor fnv = new MyBibleHTMLVisitor (unsupportedFeatures , "in footnote" );
1117
1124
if (ofCrossReferences ) {
You can’t perform that action at this time.
0 commit comments