From e02a6fe0d6d4aeb289b72c7154c7a5c6ce6ea075 Mon Sep 17 00:00:00 2001 From: Nikolay Pultsin Date: Sun, 1 Apr 2012 15:41:28 +0100 Subject: [PATCH] cleanup: don't add images ass footnotes --- jni/NativeFormats/fbreader/src/formats/fb2/FB2BookReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jni/NativeFormats/fbreader/src/formats/fb2/FB2BookReader.cpp b/jni/NativeFormats/fbreader/src/formats/fb2/FB2BookReader.cpp index 00ca5ffda..393d2f3fe 100644 --- a/jni/NativeFormats/fbreader/src/formats/fb2/FB2BookReader.cpp +++ b/jni/NativeFormats/fbreader/src/formats/fb2/FB2BookReader.cpp @@ -60,7 +60,7 @@ void FB2BookReader::characterDataHandler(const char *text, size_t len) { void FB2BookReader::startElementHandler(int tag, const char **xmlattributes) { const char *id = attributeValue(xmlattributes, "id"); - if (id != 0) { + if (id != 0 && tag != _BINARY) { if (!myReadMainText) { myModelReader.setFootnoteTextModel(id); }