feat: render comments in LaTeX

This commit is contained in:
Tim Grelka
2025-02-16 17:53:03 +01:00
parent 38635a7abd
commit fe7ded0278
3 changed files with 15 additions and 13 deletions
+4 -4
View File
@@ -23,10 +23,10 @@ def test_comment_html():
@pytest.mark.latex
def test_comment_latex():
assertions = {
"%Comment\nBar": "\nBar\n",
# TODO: This test is not working as expected. The comment should be removed
# "%Comment\n" : "a",
"Foo\n%Comment\nBar": "\nFoo\nBar\n",
"%Comment\nBar": "% Comment\nBar\n",
"%Comment\n": "% Comment",
"Foo 100 % Bar": "\nFoo 100 \% Bar\n",
"Foo\n%Comment\nBar": "\nFoo\n% Comment\nBar\n",
}
for assertion in assertions: