From cf7da1843c45a4c2df7a749f7886a2d2ba0ee92a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 19:25:40 +0200 Subject: Adding upstream version 7.2.6. Signed-off-by: Daniel Baumann --- tests/roots/test-image-in-parsed-literal/conf.py | 9 +++++++++ tests/roots/test-image-in-parsed-literal/index.rst | 9 +++++++++ tests/roots/test-image-in-parsed-literal/pic.png | Bin 0 -> 120 bytes 3 files changed, 18 insertions(+) create mode 100644 tests/roots/test-image-in-parsed-literal/conf.py create mode 100644 tests/roots/test-image-in-parsed-literal/index.rst create mode 100644 tests/roots/test-image-in-parsed-literal/pic.png (limited to 'tests/roots/test-image-in-parsed-literal') diff --git a/tests/roots/test-image-in-parsed-literal/conf.py b/tests/roots/test-image-in-parsed-literal/conf.py new file mode 100644 index 0000000..5d06da6 --- /dev/null +++ b/tests/roots/test-image-in-parsed-literal/conf.py @@ -0,0 +1,9 @@ +exclude_patterns = ['_build'] + +rst_epilog = ''' +.. |picture| image:: pic.png + :height: 1cm + :scale: 200% + :align: middle + :alt: alternative_text +''' diff --git a/tests/roots/test-image-in-parsed-literal/index.rst b/tests/roots/test-image-in-parsed-literal/index.rst new file mode 100644 index 0000000..80e1008 --- /dev/null +++ b/tests/roots/test-image-in-parsed-literal/index.rst @@ -0,0 +1,9 @@ +test-image-in-parsed-literal +============================ + +Dummy text + +.. parsed-literal:: + + |picture|\ AFTER + diff --git a/tests/roots/test-image-in-parsed-literal/pic.png b/tests/roots/test-image-in-parsed-literal/pic.png new file mode 100644 index 0000000..fda6cd2 Binary files /dev/null and b/tests/roots/test-image-in-parsed-literal/pic.png differ -- cgit v1.2.3