diff options
| author | Marat Radchenko <marat@slonopotamus.org> | 2024-05-12 16:16:47 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-12 16:16:47 +0300 |
| commit | 9d2cfc2561034f4ce2ec4fabdaadbe2c4489e9c2 (patch) | |
| tree | 9af88b8812d9951b5da86dc84d85ccf30a2dc705 /spec/fixtures | |
| parent | 59bd1302a3d478347e203aa74e3dbb9c050d8c5d (diff) | |
resolves #470 do not crash on an SVG image inside table cell (#473)
closes #471
Diffstat (limited to 'spec/fixtures')
| -rw-r--r-- | spec/fixtures/image-in-table/book.adoc | 9 | ||||
| -rw-r--r-- | spec/fixtures/image-in-table/circle.svg | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/spec/fixtures/image-in-table/book.adoc b/spec/fixtures/image-in-table/book.adoc new file mode 100644 index 0000000..400621f --- /dev/null +++ b/spec/fixtures/image-in-table/book.adoc @@ -0,0 +1,9 @@ += Image in table +:doctype: book + +== Chapter + +|=== +a| +image::circle.svg[] +|=== diff --git a/spec/fixtures/image-in-table/circle.svg b/spec/fixtures/image-in-table/circle.svg new file mode 100644 index 0000000..3e8733f --- /dev/null +++ b/spec/fixtures/image-in-table/circle.svg @@ -0,0 +1,3 @@ +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"> + <circle cx="400" cy="300" r="250" stroke-width="20" stroke="#f00" fill="#ff0" /> +</svg> |
