diff --git a/api/tests/common/test_utils.py b/api/tests/common/test_utils.py index 3914017f1..10eff9810 100644 --- a/api/tests/common/test_utils.py +++ b/api/tests/common/test_utils.py @@ -134,6 +134,13 @@ def test_join_url(start, end, expected): True, '

hello world

', ), + # Links should render with their href intact + ( + "hello world\n[link](src)", + "text/markdown", + False, + '

hello world
link

', + ), ], ) def test_render_html(text, content_type, permissive, expected):