From 3f57f49033d78fab158af77983611ffcb5cac4bc Mon Sep 17 00:00:00 2001 From: Mauro Bieg Date: Tue, 28 May 2019 18:31:41 +0200 Subject: HTML writer: emit empty alt tag in figures (#5518) The same text is already in the
and screen-readers would read it twice, see #4737 --- test/command/3577.md | 6 +++--- test/command/4677.md | 2 +- test/command/5121.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'test/command') diff --git a/test/command/3577.md b/test/command/3577.md index dc88937e9..d1df1610d 100644 --- a/test/command/3577.md +++ b/test/command/3577.md @@ -16,10 +16,10 @@ \end{figure} ^D
-Caption 1
Caption 1
+
Caption 1
-Caption 2
Caption 2
+
Caption 2
``` ``` @@ -30,6 +30,6 @@ \end{figure} ^D
-Caption 3
Caption 3
+
Caption 3
``` diff --git a/test/command/4677.md b/test/command/4677.md index 0343cf42a..11a62fd08 100644 --- a/test/command/4677.md +++ b/test/command/4677.md @@ -3,6 +3,6 @@ ![Caption](img.png){#img:1} ^D
-Caption
Caption
+
Caption
``` diff --git a/test/command/5121.md b/test/command/5121.md index 9003cdfec..0f45c4afe 100644 --- a/test/command/5121.md +++ b/test/command/5121.md @@ -5,7 +5,7 @@ ## Header 2 ^D
-My caption
My caption
+
My caption
Header 2 -- cgit v1.2.3