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:
parent
ce4eff75a1
commit
e02a6fe0d6
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue