Skip to content

Commit

Permalink
renderer: fix docstring of escape_latex_characters
Browse files Browse the repository at this point in the history
  • Loading branch information
sinaatalay committed Oct 3, 2024
1 parent 68b6605 commit 1b39aa8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions rendercv/renderer/templater.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,11 +321,7 @@ def revert_nested_latex_style_commands(latex_string: str) -> str:


def escape_latex_characters(latex_string: str, strict: bool = True) -> str:
"""Escape $\\LaTeX$ characters in a string.
This function is called during the reading of the input file. Before the validation
process, each input field's special $\\LaTeX$ characters are escaped. It is also can
be used as a Jinja2 filter in templates.
"""Escape $\\LaTeX$ characters in a string by adding a backslash before them.
Example:
```python
Expand Down

0 comments on commit 1b39aa8

Please sign in to comment.