aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-06-28 11:51:35 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-06-28 11:54:18 -0700
commited9a118b544a2aeddda120ca1cc0bc45e1da6935 (patch)
tree40411652e3ddd6fda3eb62253ce30ea2640fdaee /src/Text/Pandoc.hs
parent2768d1c2d203f91b03a5246f6ce1fbaa26e2571f (diff)
downloadpandoc-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 'src/Text/Pandoc.hs')
0 files changed, 0 insertions, 0 deletions