summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-10-20 14:07:21 +0200
committerTor Andersson <tor.andersson@artifex.com>2016-10-28 16:18:39 +0200
commitcc3bbe49ce3fa0c99dafd4d762b8da0ecd281ff2 (patch)
tree71637e49c05fd145e39636bb44605e8bbc062cde /include
parent8a07b7fb14f11204a0d840792ab9f4bd54b066e5 (diff)
downloadmupdf-cc3bbe49ce3fa0c99dafd4d762b8da0ecd281ff2.tar.xz
epub: Add 'id' attribute to all HTML elements, not just <a> tags.
Allows id anchoring to block elements as well as inline elements. Fix for bug 697123.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/html.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mupdf/html.h b/include/mupdf/html.h
index 259333a4..dd58b814 100644
--- a/include/mupdf/html.h
+++ b/include/mupdf/html.h
@@ -207,7 +207,7 @@ struct fz_html_box_s
float em;
fz_html_box *up, *down, *last, *next;
fz_html_flow *flow_head, **flow_tail;
- char *a_href;
+ char *id, *href;
fz_css_style style;
};