From 175fb89797f9322c16dc5f257ea20e05f49020f3 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Sat, 24 Feb 2024 20:09:53 +0100 Subject: [PATCH] improve escape_latex_characters tests --- tests/test_renderer.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/test_renderer.py b/tests/test_renderer.py index 70c3689..5bd3229 100644 --- a/tests/test_renderer.py +++ b/tests/test_renderer.py @@ -37,8 +37,14 @@ def test_markdown_file_class(tmp_path, rendercv_data_model, jinja2_environment): ("My ~ Text", "My \\textasciitilde{} Text"), ("##%%&&~~", "\\#\\#\\%\\%\\&\\&\\textasciitilde{}\\textasciitilde{}"), ( - "[link](you shouldn't escape whatever is in here & % # ~)", - "[link](you shouldn't escape whatever is in here & % # ~)", + ( + "[link](you shouldn't escape whatever is in here & % # ~) [second" + " link](https://myurl.com)" + ), + ( + "[link](you shouldn't escape whatever is in here & % # ~) [second" + " link](https://myurl.com)" + ), ), ], )