mirror of https://github.com/eyhc1/rendercv.git
improve escape_latex_characters tests
This commit is contained in:
parent
01011741f0
commit
175fb89797
|
@ -37,8 +37,14 @@ def test_markdown_file_class(tmp_path, rendercv_data_model, jinja2_environment):
|
||||||
("My ~ Text", "My \\textasciitilde{} Text"),
|
("My ~ Text", "My \\textasciitilde{} Text"),
|
||||||
("##%%&&~~", "\\#\\#\\%\\%\\&\\&\\textasciitilde{}\\textasciitilde{}"),
|
("##%%&&~~", "\\#\\#\\%\\%\\&\\&\\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)"
|
||||||
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue