1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-04 10:19:33 +02:00

cleanup: don't add images ass footnotes

This commit is contained in:
Nikolay Pultsin 2012-04-01 15:41:28 +01:00
parent ce4eff75a1
commit e02a6fe0d6

View file

@ -60,7 +60,7 @@ void FB2BookReader::characterDataHandler(const char *text, size_t len) {
void FB2BookReader::startElementHandler(int tag, const char **xmlattributes) { void FB2BookReader::startElementHandler(int tag, const char **xmlattributes) {
const char *id = attributeValue(xmlattributes, "id"); const char *id = attributeValue(xmlattributes, "id");
if (id != 0) { if (id != 0 && tag != _BINARY) {
if (!myReadMainText) { if (!myReadMainText) {
myModelReader.setFootnoteTextModel(id); myModelReader.setFootnoteTextModel(id);
} }