From ed9a118b544a2aeddda120ca1cc0bc45e1da6935 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 28 Jun 2015 11:51:35 -0700 Subject: Fixed regression in CSS parsing with `--self-contained`. In 1b44acf0c59b70cc63f48a23c6f77e45a982aaf9 we replaced some hackish CSS parsing with css-text, which I thought was a complete CSS parser. It turns out that it is very buggy, which results in lots of things being silently dropped from CSS when `--self-contained` is used (#2224). This commit replaces the use of css-text with a small but more principled css preprocessor, which only removes whitespace and replaces URLs with base 64 data when possible. Closes #2224. --- pandoc.cabal | 1 - 1 file changed, 1 deletion(-) (limited to 'pandoc.cabal') diff --git a/pandoc.cabal b/pandoc.cabal index 808afadad..e2f843694 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -262,7 +262,6 @@ Library temporary >= 1.1 && < 1.3, blaze-html >= 0.5 && < 0.9, blaze-markup >= 0.5.1 && < 0.8, - css-text >= 0.1.2 && < 0.3, yaml >= 0.8.8.2 && < 0.9, scientific >= 0.2 && < 0.4, vector >= 0.10 && < 0.11, -- cgit v1.2.3