File tree 1 file changed +5
-1
lines changed
biblemulticonverter/src/main/java/biblemulticonverter/format
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -755,7 +755,10 @@ public void visitVerseSeparator() throws RuntimeException {
755
755
public void visitLineBreak (ExtendedLineBreakKind kind , int indent ) throws RuntimeException {
756
756
if (htmlState == null ) {
757
757
ensureInParagraph ();
758
- if (!kind .isSameParagraph () && kind != ExtendedLineBreakKind .TABLE_ROW_NEXT_CELL ) {
758
+ if (interlinearTypes != null ) {
759
+ // enforce not using line breaks
760
+ sb .append ("</p>\n <p>" );
761
+ } else if (!kind .isSameParagraph () && kind != ExtendedLineBreakKind .TABLE_ROW_NEXT_CELL ) {
759
762
String align = "" ;
760
763
if (indent == ExtendedLineBreakKind .INDENT_CENTER )
761
764
align = " align=\" center\" " ;
@@ -850,6 +853,7 @@ else if (formatted.startsWith("H"))
850
853
@ Override
851
854
public Visitor <RuntimeException > visitDictionaryEntry (String dictionary , String entry ) throws RuntimeException {
852
855
ensureInParagraph ();
856
+ // backport?
853
857
String target = System .getProperty ("biblemulticonverter.dictionarytarget." + dictionary );
854
858
if (target != null ) {
855
859
sb .append ("<a href=\" " + target + entry + "\" >" );
You can’t perform that action at this time.
0 commit comments