Index: src/modules/filters/osisplain.cpp
===================================================================
--- src/modules/filters/osisplain.cpp (revision 2025)
+++ src/modules/filters/osisplain.cpp (working copy)
@@ -170,6 +170,14 @@
}
}
+ //
+ else if (!strncmp(token, "l", 1)) {
+ const char* type = strstr(token+1, "type=\"");
+ if (type && strncmp(type+6, "x-br", 4)) { // we check for type != x-br
+ userData->supressAdjacentWhitespace = true;
+ buf.append('\n');
+ }
+ }
else {
return false; // we still didn't handle token
}
Index: include/config.h
===================================================================
--- include/config.h (revision 2025)
+++ include/config.h (working copy)
@@ -1,4 +1,4 @@
-/* include/config.h. Generated by configure. */
+/* include/config.h. Generated from config.h.in by configure. */
/* include/config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the header file. */