summaryrefslogtreecommitdiff
path: root/source/html
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-04-27 15:28:50 +0200
committerTor Andersson <tor.andersson@artifex.com>2015-04-27 15:28:50 +0200
commit61594159e15383f88ac856204aba1e014ef6e04d (patch)
tree00b747ef4e29aa5f118f601c14d84b151e0a5a79 /source/html
parente2b0aed8d52d8a011d8bf4cc6c501057dfa05f0d (diff)
downloadmupdf-61594159e15383f88ac856204aba1e014ef6e04d.tar.xz
epub: Ugly hack so that table rows end up on their own lines at least.
We don't support tables yet, so this is a stop gap measure.
Diffstat (limited to 'source/html')
-rw-r--r--source/html/html-layout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/html/html-layout.c b/source/html/html-layout.c
index cc510a22..6d67f1a1 100644
--- a/source/html/html-layout.c
+++ b/source/html/html-layout.c
@@ -32,6 +32,7 @@ static const char *default_css =
"center{text-align:center}"
"svg{display:none}"
"a{color:blue}"
+"tr{display:block}" /* ugly hack! */
;
static int iswhite(int c)