Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Escape passed data #438

Closed
anehx opened this issue Oct 25, 2021 · 0 comments · Fixed by #444
Closed

Escape passed data #438

anehx opened this issue Oct 25, 2021 · 0 comments · Fixed by #444
Assignees
Labels
bug Something isn't working python Pull requests that update Python code

Comments

@anehx
Copy link
Member

anehx commented Oct 25, 2021

DMS should automatically escape all passed data from the API when rendering templates. Otherwise some special chars (&, <, >) are not rendered in the template if they are not manually escaped: https://docxtpl.readthedocs.io/en/latest/#escaping-newline-new-paragraph-listing

@anehx anehx added bug Something isn't working python Pull requests that update Python code labels Oct 25, 2021
@anehx anehx assigned anehx and unassigned open-dynaMIX Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working python Pull requests that update Python code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants