summaryrefslogtreecommitdiff
path: root/source/html/css-parse.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-05-07 12:27:04 +0200
committerTor Andersson <tor.andersson@artifex.com>2015-05-07 12:27:04 +0200
commitf1d638df558d9a2cbf31824167aa57e55bec682b (patch)
tree00fa85cd94b54196834e1e88bead4de99b216b11 /source/html/css-parse.c
parent3a65be71bb296077d4cc90cf5ec13dd55fb0d4c5 (diff)
downloadmupdf-f1d638df558d9a2cbf31824167aa57e55bec682b.tar.xz
epub: Allow space between property name and ':'.
Diffstat (limited to 'source/html/css-parse.c')
-rw-r--r--source/html/css-parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/html/css-parse.c b/source/html/css-parse.c
index b672dc27..36ad111d 100644
--- a/source/html/css-parse.c
+++ b/source/html/css-parse.c
@@ -601,6 +601,7 @@ static fz_css_property *parse_declaration(struct lexbuf *buf)
p = fz_new_css_property(buf->ctx, buf->string, NULL, 0);
next(buf);
+ white(buf);
expect(buf, ':');
white(buf);