diff --git a/tests/fixtures/docs/index.md b/tests/fixtures/docs/index.md index e3c6ed3..16d31f0 100644 --- a/tests/fixtures/docs/index.md +++ b/tests/fixtures/docs/index.md @@ -2,4 +2,6 @@ Our image: -*![our image caption](github-octocat.png)* +*![our image caption 1](github-octocat.png)* + +_![our image caption 2](github-octocat.png)_ diff --git a/tests/test_plugin.py b/tests/test_plugin.py index 0f1d01d..3a8ccc6 100644 --- a/tests/test_plugin.py +++ b/tests/test_plugin.py @@ -85,4 +85,5 @@ def test_img2fig_output(tmp_path): assert os.path.exists(index_file), "%s does not exist" % index_file contents = pathlib.Path(index_file).read_text() - assert "
our image caption
" in contents + assert "
our image caption 1
" in contents + assert "
our image caption 2
" in contents