diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-06-28 11:51:35 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-06-28 11:54:18 -0700 |
commit | ed9a118b544a2aeddda120ca1cc0bc45e1da6935 (patch) | |
tree | 40411652e3ddd6fda3eb62253ce30ea2640fdaee /Interact.hs | |
parent | 2768d1c2d203f91b03a5246f6ce1fbaa26e2571f (diff) | |
download | pandoc-ed9a118b544a2aeddda120ca1cc0bc45e1da6935.tar.gz |
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.
Diffstat (limited to 'Interact.hs')
0 files changed, 0 insertions, 0 deletions