diff options
Diffstat (limited to 'tests/unit/includes/MarkdownTest.php')
-rw-r--r-- | tests/unit/includes/MarkdownTest.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit/includes/MarkdownTest.php b/tests/unit/includes/MarkdownTest.php index 71f13cdb0..e05cec6fb 100644 --- a/tests/unit/includes/MarkdownTest.php +++ b/tests/unit/includes/MarkdownTest.php @@ -65,6 +65,10 @@ class MarkdownTest extends UnitTestCase { '[img=https://example.com/image.jpg]https://example.com/image.jpg[/img]', '![](https://example.com/image.jpg)' ], + 'inline image with alt text' => [ + '[img=https://example.com/image.jpg]Alt text[/img]', + '![Alt text](https://example.com/image.jpg)' + ], ]; } |