diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2023-07-10 09:28:48 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2023-07-11 10:59:33 -0700 |
| commit | 94832af98a9e3e3e4ea0f88bc2bb29981df85e74 (patch) | |
| tree | d755692783aad8387531c01ec3aa3abfc12ecd7b /pandoc.cabal | |
| parent | 3496109d49bdf2de5d28435c04ef849b00d9e421 (diff) | |
SelfContained: Use inline svg instead of data uris...
for SVG images in HTML5. Closes #8948.
Note that SelfContained does not have access to the writer
name, so we check for HTML5 by determining whether the document
starts with `<DOCTYPE! html>`. This means that inline SVG
won't be used when generating document fragments.
An API change could be contemplated to give more flexibility,
but this is okay for now.
Diffstat (limited to 'pandoc.cabal')
| -rw-r--r-- | pandoc.cabal | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index a9b2e0b20..07128c781 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -206,6 +206,7 @@ extra-source-files: test/*.native test/command/*.md test/command/*.csl + test/command/*.svg test/command/biblio.bib test/command/averroes.bib test/command/A.txt @@ -235,10 +236,6 @@ extra-source-files: test/command/5700-metadata-file-1.yml test/command/5700-metadata-file-2.yml test/command/abbrevs - test/command/SVG_logo-without-xml-declaration.svg - test/command/SVG_logo.svg - test/command/corrupt.svg - test/command/inkscape-cube.svg test/command/sub-file-chapter-1.tex test/command/sub-file-chapter-2.tex test/command/bar.tex |
